chore: hide option to seperate chat types (#5345)
This commit is contained in:
parent
2affcab436
commit
0f91cb51d2
2 changed files with 13 additions and 9 deletions
|
|
@ -43,6 +43,7 @@ import '../../widgets/matrix.dart';
|
|||
import 'package:fluffychat/utils/tor_stub.dart'
|
||||
if (dart.library.html) 'package:tor_detector_web/tor_detector_web.dart';
|
||||
|
||||
|
||||
enum PopupMenuAction {
|
||||
settings,
|
||||
invite,
|
||||
|
|
@ -111,9 +112,12 @@ class ChatListController extends State<ChatList>
|
|||
// StreamSubscription? _intentUriStreamSubscription;
|
||||
// Pangea#
|
||||
|
||||
ActiveFilter activeFilter = AppConfig.separateChatTypes
|
||||
? ActiveFilter.messages
|
||||
: ActiveFilter.allChats;
|
||||
// #Pangea
|
||||
// ActiveFilter activeFilter = AppConfig.separateChatTypes
|
||||
// ? ActiveFilter.messages
|
||||
// : ActiveFilter.allChats;
|
||||
ActiveFilter activeFilter = ActiveFilter.allChats;
|
||||
// Pangea#
|
||||
|
||||
// #Pangea
|
||||
String? get activeSpaceId => widget.activeSpaceId;
|
||||
|
|
|
|||
|
|
@ -353,14 +353,14 @@ class SettingsStyleView extends StatelessWidget {
|
|||
storeKey: SettingKeys.showPresences,
|
||||
defaultValue: AppConfig.showPresences,
|
||||
),
|
||||
SettingsSwitchListTile.adaptive(
|
||||
title: L10n.of(context).separateChatTypes,
|
||||
onChanged: (b) => AppConfig.separateChatTypes = b,
|
||||
storeKey: SettingKeys.separateChatTypes,
|
||||
defaultValue: AppConfig.separateChatTypes,
|
||||
),
|
||||
// #Pangea
|
||||
// SettingsSwitchListTile.adaptive(
|
||||
// title: L10n.of(context).separateChatTypes,
|
||||
// onChanged: (b) => AppConfig.separateChatTypes = b,
|
||||
// storeKey: SettingKeys.separateChatTypes,
|
||||
// defaultValue: AppConfig.separateChatTypes,
|
||||
// ),
|
||||
// SettingsSwitchListTile.adaptive(
|
||||
// title: L10n.of(context).displayNavigationRail,
|
||||
// onChanged: (b) => AppConfig.displayNavigationRail = b,
|
||||
// storeKey: SettingKeys.displayNavigationRail,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue