chore: hide option to seperate chat types (#5345)

This commit is contained in:
ggurdin 2026-01-22 12:23:03 -05:00 committed by GitHub
parent 2affcab436
commit 0f91cb51d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 9 deletions

View file

@ -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;

View file

@ -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,