Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Do not show popup notifications if in library view mode (#3524)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored Jun 24, 2020
1 parent 2bc1a31 commit 7e5bc69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,7 @@ public void showPopUpsBlockedNotification() {
mBlockedCount++;
final int currentCount = mBlockedCount;
postDelayed(() -> {
if (currentCount == mBlockedCount) {
if (currentCount == mBlockedCount && !mViewModel.getIsLibraryVisible().getValue().get()) {
showNotification(POPUP_NOTIFICATION_ID,
mBinding.navigationBarNavigation.urlBar.getPopUpButton(),
NotificationManager.Notification.TOP,
Expand Down

0 comments on commit 7e5bc69

Please sign in to comment.