Revert "refactor(notifications-tab/badge): use improved implementation"

This reverts commit ac561549
This commit is contained in:
LucasGGamerM
2023-03-21 19:40:11 -03:00
parent d0e4578af0
commit 898fbcc52b
3 changed files with 19 additions and 8 deletions

View File

@@ -89,8 +89,6 @@ public class PushNotificationReceiver extends BroadcastReceiver{
@Override
public void onSuccess(org.joinmastodon.android.model.Notification result){
MastodonAPIController.runInBackground(()->PushNotificationReceiver.this.notify(context, pn, accountID, result));
GlobalUserPreferences.unreadNotifications = true;
GlobalUserPreferences.save();
}
@Override