Its working, but it still needs a better icon

This commit is contained in:
LucasGGamerM
2023-01-06 12:26:52 -03:00
parent 67338b6c85
commit 23e49c52e5
4 changed files with 9 additions and 1 deletions

View File

@@ -160,6 +160,6 @@ public class PushNotificationReceiver extends BroadcastReceiver{
if(AccountSessionManager.getInstance().getLoggedInAccounts().size()>1){
builder.setSubText(accountName);
}
nm.notify(accountID, (int)System.currentTimeMillis(), builder.build());
nm.notify(accountID, GlobalUserPreferences.keepOnlyLatestNotification ? NOTIFICATION_ID : (int)System.currentTimeMillis(), builder.build());
}
}