work around crash onHidden

re: mastodon#512
This commit is contained in:
sk
2023-01-21 15:24:33 -03:00
committed by LucasGGamerM
parent 7939380172
commit 9df738831f
3 changed files with 22 additions and 20 deletions

View File

@@ -160,7 +160,7 @@ public class PushNotificationReceiver extends BroadcastReceiver{
case FOLLOW -> builder.setSmallIcon(R.drawable.ic_fluent_person_add_24_filled);
case MENTION -> builder.setSmallIcon(R.drawable.ic_fluent_mention_24_filled);
case POLL -> builder.setSmallIcon(R.drawable.ic_fluent_poll_24_filled);
case STATUS -> R.drawable.ic_fluent_chat_24_filled;
case STATUS -> builder.setSmallIcon(R.drawable.ic_fluent_chat_24_filled);
default -> builder.setSmallIcon(R.drawable.ic_ntf_logo);
}