This commit is contained in:
Alex
2025-04-14 15:17:20 -05:00
parent 5b7d8cb3ef
commit c334eba9b7
105 changed files with 50350 additions and 31087 deletions

View File

@@ -81,23 +81,23 @@ class ThemeSetting extends HookConsumerWidget {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
SettingsSubTitle(title: "theme_setting_theme_title".tr()),
SettingsSubTitle(title: "theme_title".tr()),
SettingsSwitchListTile(
valueNotifier: isSystemTheme,
title: 'theme_setting_system_theme_switch'.tr(),
title: "system_theme_switch".tr(),
onChanged: onSystemThemeChange,
),
if (currentTheme.value != ThemeMode.system)
SettingsSwitchListTile(
valueNotifier: isDarkTheme,
title: 'theme_setting_dark_mode_switch'.tr(),
title: "dark_mode_switch".tr(),
onChanged: onThemeChange,
),
const PrimaryColorSetting(),
SettingsSwitchListTile(
valueNotifier: applyThemeToBackgroundProvider,
title: "theme_setting_colorful_interface_title".tr(),
subtitle: 'theme_setting_colorful_interface_subtitle'.tr(),
title: "colorful_interface_title".tr(),
subtitle: "colorful_interface_subtitle".tr(),
onChanged: onSurfaceColorSettingChange,
),
],