make drawer gesture controllable via settings

This commit is contained in:
Fabian Freund
2026-02-14 20:02:48 +01:00
parent c336b4fafe
commit 826015c42f
6 changed files with 61 additions and 3 deletions
@@ -151,6 +151,10 @@ class GeneralSettingsRepository extends _$GeneralSettingsRepository {
),
'quickTabSwitcherShowTitles': settings['quickTabSwitcherShowTitles']
?.readAs(DriftSqlType.bool, db.typeMapping),
'drawerGestureEnabled': settings['drawerGestureEnabled']?.readAs(
DriftSqlType.bool,
db.typeMapping,
),
});
}
@@ -35,7 +35,7 @@ final class GeneralSettingsRepositoryProvider
}
String _$generalSettingsRepositoryHash() =>
r'290fc9fb5dd79b94bb4a42a131184b385a1ecb4d';
r'33730ccb09471c1a7c187bd19760110f524e055b';
abstract class _$GeneralSettingsRepository
extends $StreamNotifier<GeneralSettings> {