diff --git a/app/src/main/java/com/github/dfa/diaspora_android/activity/MainActivity.java b/app/src/main/java/com/github/dfa/diaspora_android/activity/MainActivity.java index 039503b7..22b26597 100644 --- a/app/src/main/java/com/github/dfa/diaspora_android/activity/MainActivity.java +++ b/app/src/main/java/com/github/dfa/diaspora_android/activity/MainActivity.java @@ -790,7 +790,7 @@ public class MainActivity extends AppCompatActivity if (item != null) { if (notificationCount > 0) { item.setIcon(R.drawable.ic_bell_ring_white_24dp); - if(!snackbarNewNotification.isShown()) + if(!snackbarNewNotification.isShown() && !webView.getUrl().equals("https://" + podDomain + "/notifications")) snackbarNewNotification.show(); } else { item.setIcon(R.drawable.ic_bell_outline_white_24dp); @@ -824,7 +824,7 @@ public class MainActivity extends AppCompatActivity if (item != null) { if (conversationCount > 0) { item.setIcon(R.drawable.ic_message_text_white_24dp); - if(!snackbarNewNotification.isShown()) + if(!snackbarNewNotification.isShown() && !webView.getUrl().equals("https://" + podDomain + "/notifications")) snackbarNewNotification.show(); } else { item.setIcon(R.drawable.ic_message_text_outline_white_24dp);