相册功能优化

This commit is contained in:
DelLevin-Home
2026-08-09 15:29:49 +08:00
parent 6d76c33672
commit 68a8d7f6ce
15 changed files with 963 additions and 12 deletions

View File

@@ -142,6 +142,9 @@ class UserPrefs {
bool get showSidebarPerson => prefs.getBool('showSidebarPerson') ?? true;
Future<bool> setShowSidebarPerson(bool value) => prefs.setBool('showSidebarPerson', value);
bool get showSidebarGallery => prefs.getBool('showSidebarGallery') ?? true;
Future<bool> setShowSidebarGallery(bool value) => prefs.setBool('showSidebarGallery', value);
bool get showSidebarTags => prefs.getBool('showSidebarTags') ?? true;
Future<bool> setShowSidebarTags(bool value) => prefs.setBool('showSidebarTags', value);