Skip to content

Commit c321105

Browse files
committed
Arabic translations by cypherzane
1 parent fedd9eb commit c321105

File tree

4 files changed

+335
-334
lines changed

4 files changed

+335
-334
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,4 @@ A huge thank you to our amazing localization contributors in making Mindful acce
123123
[*@fireflurry*](https://crowdin.com/profile/fireflurry),
124124
[*@youquan0914*](https://crowdin.com/profile/youquan0914),
125125
[*@e_cllf*](https://crowdin.com/profile/e_cllf).
126+
[*@cypherzane*](https://crowdin.com/profile/cypherzane).

android/app/src/main/java/com/mindful/android/services/notification/MindfulNotificationListenerService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class MindfulNotificationListenerService : NotificationListenerService() {
7878
// If from mindful or not clearable or group summery
7979
val isGroupSummary =
8080
sbn.notification.flags and android.app.Notification.FLAG_GROUP_SUMMARY != 0
81-
if (packageName == this.packageName || !sbn.isClearable || isGroupSummary) return
81+
if (packageName == this.packageName || !sbn.isClearable || isGroupSummary || sbn.isOngoing) return
8282

8383
// Dismiss notification if it is from distracting apps
8484
val isFromBatchedApp = settings.batchedApps.contains(packageName)

0 commit comments

Comments
 (0)