Updates chat creation buttons to match functionality
- Space view button text changed to "Group Chat" - Chat list view button icon changed to message icon - Chat list view button text changed to "Direct Message" - DM creation title changed to "New direct message"
This commit is contained in:
parent
31293b4794
commit
7f730de718
4 changed files with 17 additions and 5 deletions
|
|
@ -5008,5 +5008,8 @@
|
|||
"getStartedComplete": "You've completed this section!\nKeep exploring our amazing features by chatting with friends!",
|
||||
"getStartedFriendsComplete": "Woohoo! You've got friends! 😉",
|
||||
"getStartedBotChatButton": "Start chatting!",
|
||||
"getStartedFriendsButton": "Invite a friend"
|
||||
"getStartedFriendsButton": "Invite a friend",
|
||||
"groupChat": "Group Chat",
|
||||
"directMessage": "Direct Message",
|
||||
"newDirectMessage": "New direct message"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -71,9 +71,15 @@ class ChatListView extends StatelessWidget {
|
|||
// Pangea#
|
||||
? FloatingActionButton.extended(
|
||||
onPressed: () => context.go('/rooms/newprivatechat'),
|
||||
icon: const Icon(Icons.add_outlined),
|
||||
// #Pangea
|
||||
icon: const Icon(Icons.message_outlined),
|
||||
// icon: const Icon(Icons.add_outlined),
|
||||
// Pangea#
|
||||
label: Text(
|
||||
L10n.of(context).chat,
|
||||
// #Pangea
|
||||
L10n.of(context).directMessage,
|
||||
// L10n.of(context).chat,
|
||||
// Pangea#
|
||||
overflow: TextOverflow.fade,
|
||||
),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -686,7 +686,7 @@ class _SpaceViewState extends State<SpaceView> {
|
|||
// label: Text(L10n.of(context).group),
|
||||
onPressed: () =>
|
||||
context.go("/rooms/newgroup?space=${widget.spaceId}"),
|
||||
label: Text(L10n.of(context).chat),
|
||||
label: Text(L10n.of(context).groupChat),
|
||||
// Pangea#
|
||||
icon: const Icon(Icons.group_add_outlined),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -30,7 +30,10 @@ class NewPrivateChatView extends StatelessWidget {
|
|||
appBar: AppBar(
|
||||
scrolledUnderElevation: 0,
|
||||
leading: const Center(child: BackButton()),
|
||||
title: Text(L10n.of(context).newChat),
|
||||
// #Pangea
|
||||
title: Text(L10n.of(context).newDirectMessage),
|
||||
// title: Text(L10n.of(context).newChat),
|
||||
// Pangea#
|
||||
backgroundColor: theme.scaffoldBackgroundColor,
|
||||
// #Pangea
|
||||
// actions: [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue