Skip to content

Commit

Permalink
feat: New spaces and chat list design
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Jul 15, 2024
1 parent 396a896 commit 5c23453
Show file tree
Hide file tree
Showing 17 changed files with 1,237 additions and 1,549 deletions.
13 changes: 13 additions & 0 deletions assets/l10n/intl_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,19 @@
"supportedVersions": {}
}
},
"countChatsAndCountParticipants": "{chats} chats and {participants} participants",
"@countChatsAndCountParticipants": {
"type": "text",
"placeholders": {
"chats": {},
"participants": {}
}
},
"noMoreChatsFound": "No more chats found...",
"joinedChats": "Joined chats",
"unread": "Unread",
"space": "Space",
"spaces": "Spaces",
"banFromChat": "Ban from chat",
"@banFromChat": {
"type": "text",
Expand Down
1 change: 0 additions & 1 deletion lib/config/app_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ abstract class AppConfig {
static bool hideRedactedEvents = false;
static bool hideUnknownEvents = true;
static bool hideUnimportantStateEvents = true;
static bool separateChatTypes = false;
static bool autoplayImages = true;
static bool sendTypingNotifications = true;
static bool sendPublicReadReceipts = true;
Expand Down
5 changes: 0 additions & 5 deletions lib/config/routes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,8 @@ abstract class AppRoutes {
FluffyThemes.isColumnMode(context) &&
state.fullPath?.startsWith('/rooms/settings') == false
? TwoColumnLayout(
displayNavigationRail:
state.path?.startsWith('/rooms/settings') != true,
mainView: ChatList(
activeChat: state.pathParameters['roomid'],
displayNavigationRail:
state.path?.startsWith('/rooms/settings') != true,
),
sideView: child,
)
Expand Down Expand Up @@ -175,7 +171,6 @@ abstract class AppRoutes {
? TwoColumnLayout(
mainView: const Settings(),
sideView: child,
displayNavigationRail: false,
)
: child,
),
Expand Down
1 change: 0 additions & 1 deletion lib/config/setting_keys.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ abstract class SettingKeys {
static const String hideUnknownEvents = 'chat.fluffy.hideUnknownEvents';
static const String hideUnimportantStateEvents =
'chat.fluffy.hideUnimportantStateEvents';
static const String separateChatTypes = 'chat.fluffy.separateChatTypes';
static const String sentry = 'sentry';
static const String theme = 'theme';
static const String amoledEnabled = 'amoled_enabled';
Expand Down
Loading

0 comments on commit 5c23453

Please sign in to comment.