mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
settings page
This commit is contained in:
36
lib/pages/settings/local_favorites.dart
Normal file
36
lib/pages/settings/local_favorites.dart
Normal file
@@ -0,0 +1,36 @@
|
||||
part of 'settings_page.dart';
|
||||
|
||||
class LocalFavoritesSettings extends StatefulWidget {
|
||||
const LocalFavoritesSettings({super.key});
|
||||
|
||||
@override
|
||||
State<LocalFavoritesSettings> createState() => _LocalFavoritesSettingsState();
|
||||
}
|
||||
|
||||
class _LocalFavoritesSettingsState extends State<LocalFavoritesSettings> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return SmoothCustomScrollView(
|
||||
slivers: [
|
||||
SliverAppbar(title: Text("Local Favorites".tl)),
|
||||
const SelectSetting(
|
||||
title: "Add new favorite to",
|
||||
settingKey: "newFavoriteAddTo",
|
||||
optionTranslation: {
|
||||
"start": "Start",
|
||||
"end": "End",
|
||||
},
|
||||
).toSliver(),
|
||||
const SelectSetting(
|
||||
title: "Move favorite after read",
|
||||
settingKey: "moveFavoriteAfterRead",
|
||||
optionTranslation: {
|
||||
"none": "None",
|
||||
"end": "End",
|
||||
"start": "Start",
|
||||
},
|
||||
).toSliver(),
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user