chore: revert changes to hide chat filters for new accounts, seperate chat types by default (#1959)
This commit is contained in:
parent
f2c1029508
commit
89695e9359
5 changed files with 7 additions and 21 deletions
2
.gitignore
vendored
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/
|
||||
|
|
|
|||
9
.vscode/settings.json
vendored
9
.vscode/settings.json
vendored
|
|
@ -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…
Add table
Reference in a new issue