2024-03-12 15:56:08 +01:00
|
|
|
import 'package:flutter/material.dart';
|
2024-05-07 06:04:21 +02:00
|
|
|
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';
|
2024-03-12 15:56:08 +01:00
|
|
|
|
|
|
|
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 15:56:08 +01:00
|
|
|
];
|
|
|
|
|
2024-08-06 16:20:27 +02:00
|
|
|
return const SettingsSubPageScaffold(
|
|
|
|
settings: preferenceSettings,
|
|
|
|
showDivider: true,
|
|
|
|
);
|
2024-03-12 15:56:08 +01:00
|
|
|
}
|
|
|
|
}
|