feat: Add "Show related DMs in spaces" settings
This commit is contained in:
parent
cef13412fb
commit
4398c305d2
6 changed files with 20 additions and 1 deletions
|
|
@ -77,6 +77,12 @@ class SettingsChatView extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
const Divider(height: 1),
|
||||
SettingsSwitchListTile.adaptive(
|
||||
title: L10n.of(context)!.showDirectChatsInSpaces,
|
||||
onChanged: (b) => AppConfig.showDirectChatsInSpaces = b,
|
||||
storeKey: SettingKeys.showDirectChatsInSpaces,
|
||||
defaultValue: AppConfig.showDirectChatsInSpaces,
|
||||
),
|
||||
SettingsSwitchListTile.adaptive(
|
||||
title: L10n.of(context)!.separateChatTypes,
|
||||
onChanged: (b) => AppConfig.separateChatTypes = b,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue