feat: Groups and Direct Chats virtual spaces option

This commit is contained in:
20kdc 2022-04-03 17:00:35 +00:00 committed by Krille Fear
commit 919b0822e5
9 changed files with 285 additions and 87 deletions

View file

@ -76,6 +76,13 @@ class SettingsChatView extends StatelessWidget {
child: Icon(Icons.insert_emoticon_outlined),
),
),
const Divider(height: 1),
SettingsSwitchListTile.adaptive(
title: L10n.of(context)!.separateChatTypes,
onChanged: (b) => AppConfig.separateChatTypes = b,
storeKey: SettingKeys.separateChatTypes,
defaultValue: AppConfig.separateChatTypes,
),
],
),
),