Skip to content

Commit cebce7e

Browse files
committed
💎 style: Removed mode contrast to GNOME
1 parent 99836da commit cebce7e

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

‎biglinux-livecd/usr/share/biglinux/calamares/src/utils/constants.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Application Information
1010
APP_NAME = "BigLinux Calamares Config"
1111
APP_ID = "com.biglinux.calamares-config"
12-
APP_VERSION = "1.0.9"
12+
APP_VERSION = "1.0.10"
1313

1414
# Paths and Directories
1515
BASE_DIR = Path(__file__).parent.parent.parent

‎biglinux-livecd/usr/share/biglinux/livecd/ui/theme_view.py‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,12 @@ def __init__(self, system_service: SystemService, simplified_mode: bool = False,
3838

3939
self.jamesdsp_available = system_service.check_jamesdsp_availability()
4040

41-
# Contrast toggle only for GNOME in simplified environments
41+
# Contrast toggle disabled in simplified mode (GNOME/XFCE/Cinnamon)
4242
if simplified_mode:
4343
desktop_env = system_service.get_desktop_environment()
4444
logger.info(f"ThemeView simplified mode - Desktop: {desktop_env}")
45-
contrast_check = system_service.check_enhanced_contrast_availability()
46-
self.contrast_available = (desktop_env == "GNOME" and contrast_check)
47-
logger.info(f"Contrast available in simplified mode: {self.contrast_available} (desktop={desktop_env}, check={contrast_check})")
45+
self.contrast_available = False
46+
logger.info(f"Contrast disabled in simplified mode for {desktop_env}")
4847
else:
4948
self.contrast_available = system_service.check_enhanced_contrast_availability()
5049
logger.info(f"Contrast available in full mode: {self.contrast_available}")

0 commit comments

Comments
 (0)