2024-03-12 16:56:08 +02:00
|
|
|
import 'package:flutter/material.dart';
|
2024-04-15 07:50:47 +02:00
|
|
|
import 'package:immich_mobile/modules/settings/ui/preference_settings/haptic_setting.dart';
|
2024-03-12 16:56:08 +02:00
|
|
|
import 'package:immich_mobile/modules/settings/ui/preference_settings/theme_setting.dart';
|
|
|
|
import 'package:immich_mobile/modules/settings/ui/settings_sub_page_scaffold.dart';
|
|
|
|
|
|
|
|
class PreferenceSetting extends StatelessWidget {
|
|
|
|
const PreferenceSetting({
|
|
|
|
super.key,
|
|
|
|
});
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
const preferenceSettings = [
|
|
|
|
ThemeSetting(),
|
2024-04-15 07:50:47 +02:00
|
|
|
HapticSetting(),
|
2024-03-12 16:56:08 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
return const SettingsSubPageScaffold(settings: preferenceSettings);
|
|
|
|
}
|
|
|
|
}
|