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

Commit 7e5bc69

Browse files
authored
Do not show popup notifications if in library view mode (#3524)
1 parent 2bc1a31 commit 7e5bc69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/NavigationBarWidget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,7 @@ public void showPopUpsBlockedNotification() {
12281228
mBlockedCount++;
12291229
final int currentCount = mBlockedCount;
12301230
postDelayed(() -> {
1231-
if (currentCount == mBlockedCount) {
1231+
if (currentCount == mBlockedCount && !mViewModel.getIsLibraryVisible().getValue().get()) {
12321232
showNotification(POPUP_NOTIFICATION_ID,
12331233
mBinding.navigationBarNavigation.urlBar.getPopUpButton(),
12341234
NotificationManager.Notification.TOP,

0 commit comments

Comments
 (0)