mirror of https://github.com/YTVanced/VancedMicroG
Fix
This commit is contained in:
parent
c268e68b2a
commit
7d760440ea
|
@ -42,11 +42,13 @@ public class StatusNotification {
|
|||
if (!NotificationManagerCompat.from(context.getApplicationContext()).areNotificationsEnabled()) {
|
||||
resetNotification = true;
|
||||
} else {
|
||||
if (notificationExists && resetNotification) {
|
||||
destroyNotification(context);
|
||||
resetNotification = false;
|
||||
} else {
|
||||
buildStatusNotification(context);
|
||||
if (notificationExists)
|
||||
if (resetNotification) {
|
||||
destroyNotification(context);
|
||||
resetNotification = false;
|
||||
} else {
|
||||
buildStatusNotification(context);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
@ -96,4 +98,4 @@ public class StatusNotification {
|
|||
|
||||
notificationExists = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue