ankidroid / ankidroid/Anki-Android
Widget: Notification & Sound each time I change AnkiDroid Activities
- Ngôn ngữ chính
- Kotlin
- Star
- 11.8k
- Fork
- 2.9k
- Merge trung bình
- 2 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 168
Mô tả
2.12alpha6 Android 9.
I don't use notifications/widget generally, so this may be user error.
I have a test collection with 55 unseen cards
Notification settings: Notify when more than 10 cards due
Each time I lock my phone with AnkiDroid open, or load a new activity in AnkiDroid, I get a notification sound and notification with "55 cards due". Even if the notification is currently appearing, there's no grace period.
This is distracting and isn't a great user experience.
Caused by calling `widget.update()` `onStop`: https://github.com/ankidroid/Anki-Android/blob/b1135ff3cbd8d536a0175e7b9b156fdb88585e1b/AnkiDroid/src/main/java/com/ichi2/anki/CardBrowser.java#L683
This calls through to:
https://github.com/ankidroid/Anki-Android/blob/8ada06b2e6521aa4e9eff2a0539dc192ef89a894/AnkiDroid/src/main/java/com/ichi2/widget/WidgetStatus.java#L116
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.