File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,33 +89,22 @@ class _TouchFishAppState extends State<TouchFishApp> {
8989 return ListenableBuilder (
9090 listenable: _appState,
9191 builder: (context, _) {
92- // Determine theme color - only use custom colors if 'custom' is selected
9392 final isCustomTheme = _appState.themeColorKey == 'custom' ;
9493 final seedColor = _appState.themeColor;
95-
96- // Build light theme
9794 var lightColorScheme = ColorScheme .fromSeed (
9895 seedColor: seedColor,
9996 brightness: Brightness .light,
10097 );
101-
102- // Build dark theme
10398 var darkColorScheme = ColorScheme .fromSeed (
10499 seedColor: seedColor,
105100 brightness: Brightness .dark,
106101 );
107-
108- // Apply custom colors only if custom theme is selected
109102 final customColors = _appState.customColors;
110103 if (isCustomTheme && customColors != null ) {
111104 lightColorScheme = _applyCustomColors (lightColorScheme, customColors);
112105 darkColorScheme = _applyCustomColors (darkColorScheme, customColors);
113106 }
114-
115- // Get card opacity
116107 final cardOpacity = _appState.cardOpacity;
117-
118- // Get background image path
119108 final backgroundImagePath = _appState.backgroundImagePath;
120109 final hasBackgroundImage = backgroundImagePath != null && backgroundImagePath.isNotEmpty;
121110
Original file line number Diff line number Diff line change @@ -1147,10 +1147,8 @@ class _SettingsScreenState extends State<SettingsScreen> with TickerProviderStat
11471147 );
11481148 }
11491149
1150- // Build background image setting
11511150 Widget _buildBackgroundImageSetting (
11521151 BuildContext context, AppLocalizations l10n, SettingItem item) {
1153- // Don't show on Web
11541152 if (kIsWeb) {
11551153 return const SizedBox .shrink ();
11561154 }
You can’t perform that action at this time.
0 commit comments