diff --git a/app/src/common/shared/com/igalia/wolvic/ui/widgets/NavigationBarWidget.java b/app/src/common/shared/com/igalia/wolvic/ui/widgets/NavigationBarWidget.java index 8f5f7621a40..059445746de 100644 --- a/app/src/common/shared/com/igalia/wolvic/ui/widgets/NavigationBarWidget.java +++ b/app/src/common/shared/com/igalia/wolvic/ui/widgets/NavigationBarWidget.java @@ -667,8 +667,6 @@ private void enterFullScreenMode() { mWidgetManager.setControllersVisible(false); AnimationHelper.fadeOut(mBinding.navigationBarNavigation.navigationBarContainer, 0, null); - mWidgetManager.pushWorldBrightness(this, WidgetManagerDelegate.DEFAULT_DIM_BRIGHTNESS); - mTrayViewModel.setShouldBeVisible(false); if (mProjectionMenu == null) { @@ -718,8 +716,6 @@ private void exitFullScreenMode() { mWidgetManager.popBackHandler(mFullScreenBackHandler); AnimationHelper.fadeIn(mBinding.navigationBarNavigation.navigationBarContainer, AnimationHelper.FADE_ANIMATION_DURATION, null); - - mWidgetManager.popWorldBrightness(this); AnimationHelper.fadeOut(mBinding.navigationBarFullscreen.fullScreenModeContainer, 0, null); // if we are in kiosk mode, don't show the tray mTrayViewModel.setShouldBeVisible(!mAttachedWindow.isKioskMode()); diff --git a/app/src/common/shared/com/igalia/wolvic/ui/widgets/menus/BrightnessMenuWidget.java b/app/src/common/shared/com/igalia/wolvic/ui/widgets/menus/BrightnessMenuWidget.java index 9e2b3b77a41..5c4070c1ff3 100644 --- a/app/src/common/shared/com/igalia/wolvic/ui/widgets/menus/BrightnessMenuWidget.java +++ b/app/src/common/shared/com/igalia/wolvic/ui/widgets/menus/BrightnessMenuWidget.java @@ -59,7 +59,6 @@ private void createMenuItems() { mItems.add(new MenuItem(getContext().getString(R.string.brightness_mode_dark), 0, action)); mItems.add(new MenuItem(getContext().getString(R.string.brightness_mode_void), 0, action)); - super.updateMenuItems(mItems); super.setSelectedItem(1); @@ -69,8 +68,8 @@ private void createMenuItems() { public float getSelectedBrightness() { switch (super.getSelectedItem()) { - case 0: return 1.0f; - case 1: return 0.5f; + case 0: return 0.5f; + case 1: return 0.05f; case 2: return 0.0f; } return 1.0f;