refactor: move options to mapconfig

This commit is contained in:
Yaros
2026-05-13 18:48:50 +02:00
parent d65226e325
commit 2382427488
3 changed files with 17 additions and 7 deletions
@@ -50,6 +50,8 @@ enum MetadataKey<T extends Object> {
// Map
mapShowFavoriteOnly<bool>(.appConfig, 'map.showFavoriteOnly', false),
mapRelativeDate<int>(.appConfig, 'map.relativeDate', 0),
mapCustomFrom<String>(.appConfig, 'map.customFrom', ''),
mapCustomTo<String>(.appConfig, 'map.customTo', ''),
mapIncludeArchived<bool>(.appConfig, 'map.includeArchived', false),
mapThemeMode<ThemeMode>(.appConfig, 'map.themeMode', .system, _EnumCodec(ThemeMode.values)),
mapWithPartners<bool>(.appConfig, 'map.withPartners', false),