Merge pull request #2989 from pangeachat/create-chat-button-edits
Update chat creation buttons to match functionality
This commit is contained in:
commit
09e8571fae
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.chat_bubble_outline),
|
||||
// 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