mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:27:09 -05:00 
			
		
		
		
	* feat(mobile): add support for material themes Added support for custom theming and updated all elements accordingly. * fix(mobile): Restored immich brand colors to default theme * fix(mobile): make ListTile titles bold in settings main page * feat(mobile): update bottom nav and appbar colors * small tweaks --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
		
			
				
	
	
		
			24 lines
		
	
	
		
			652 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			652 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
import 'package:flutter/material.dart';
 | 
						|
import 'package:immich_mobile/widgets/settings/preference_settings/haptic_setting.dart';
 | 
						|
import 'package:immich_mobile/widgets/settings/preference_settings/theme_setting.dart';
 | 
						|
import 'package:immich_mobile/widgets/settings/settings_sub_page_scaffold.dart';
 | 
						|
 | 
						|
class PreferenceSetting extends StatelessWidget {
 | 
						|
  const PreferenceSetting({
 | 
						|
    super.key,
 | 
						|
  });
 | 
						|
 | 
						|
  @override
 | 
						|
  Widget build(BuildContext context) {
 | 
						|
    const preferenceSettings = [
 | 
						|
      ThemeSetting(),
 | 
						|
      HapticSetting(),
 | 
						|
    ];
 | 
						|
 | 
						|
    return const SettingsSubPageScaffold(
 | 
						|
      settings: preferenceSettings,
 | 
						|
      showDivider: true,
 | 
						|
    );
 | 
						|
  }
 | 
						|
}
 |