Commit 369c0524 authored by unstablebrainiac's avatar unstablebrainiac

Fix NullPointerException (not tested, couldn't repro)

parent 806179f0
...@@ -71,7 +71,7 @@ public class NotificationsFragment extends BottomSheetDialogFragment { ...@@ -71,7 +71,7 @@ public class NotificationsFragment extends BottomSheetDialogFragment {
showNotifications(Utils.notificationCache); showNotifications(Utils.notificationCache);
NotificationId.setCurrentCount(Utils.notificationCache.size()); NotificationId.setCurrentCount(Utils.notificationCache.size());
ShortcutBadger.applyCount(getContext().getApplicationContext(), NotificationId.getCurrentCount()); ShortcutBadger.applyCount(getContext(), NotificationId.getCurrentCount());
} }
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment