mirror of
https://github.com/immich-app/immich.git
synced 2025-01-06 03:46:47 +01:00
0eacdf93eb
* 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>
23 lines
652 B
Dart
23 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,
|
|
);
|
|
}
|
|
}
|