feat: add setting for whether to show space navigation rail on mobile

This commit is contained in:
ggurdin 2025-05-19 16:13:42 -04:00
commit 4b926935bd
No known key found for this signature in database
GPG key ID: A01CB41737CBB478
8 changed files with 22 additions and 5 deletions

View file

@ -359,6 +359,12 @@ class SettingsStyleView extends StatelessWidget {
storeKey: SettingKeys.separateChatTypes,
defaultValue: AppConfig.separateChatTypes,
),
SettingsSwitchListTile.adaptive(
title: L10n.of(context).displayNavigationRail,
onChanged: (b) => AppConfig.displayNavigationRail = b,
storeKey: SettingKeys.displayNavigationRail,
defaultValue: AppConfig.displayNavigationRail,
),
],
),
),