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