chore: revert changes to hide chat filters for new accounts, seperate chat types by default (#1959)

pull/1688/head
ggurdin 8 months ago committed by GitHub
parent f2c1029508
commit 89695e9359
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
.gitignore vendored

@ -30,7 +30,7 @@ keys.json
# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/
.vscode/
# Flutter/Dart/Pub related
**/doc/api/

@ -1,9 +0,0 @@
{
"dart.previewLsp": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "explicit",
"source.sortMembers": "never"
},
"editor.formatOnSave": true
}

@ -107,7 +107,10 @@ abstract class AppConfig {
static bool hideRedactedEvents = false;
static bool hideUnknownEvents = true;
static bool hideUnimportantStateEvents = true;
static bool separateChatTypes = false;
// #Pangea
// static bool separateChatTypes = false;
static bool separateChatTypes = true;
// Pangea#
static bool autoplayImages = true;
static bool sendTypingNotifications = true;
static bool sendPublicReadReceipts = true;

@ -43,7 +43,6 @@ 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,

@ -168,15 +168,8 @@ class ChatListViewBody extends StatelessWidget {
),
),
),
// #Pangea
if (!controller.isSearchMode)
// if (client.rooms.isNotEmpty && !controller.isSearchMode)
// let's simplify this UI while the user has less chat than
// can fill this view
if (client.rooms.length <= 7 || controller.isSearchMode)
const SizedBox(height: 8),
if (client.rooms.length > 7 && !controller.isSearchMode)
if (client.rooms.isNotEmpty && !controller.isSearchMode)
// #Pangea
// SizedBox(
// height: 64,
// child: ListView(

Loading…
Cancel
Save