diff --git a/assets/l10n/intl_en.arb b/assets/l10n/intl_en.arb index 37c7031ed..cdc222276 100644 --- a/assets/l10n/intl_en.arb +++ b/assets/l10n/intl_en.arb @@ -4861,5 +4861,7 @@ "emptyChatWarningTitle": "Chat is empty", "emptyChatWarningDesc": "You haven't invited anyone to your chat. Go to Chat settings to invite your contacts or the Bot. You can also do this later.", "areYouLikeMe": "Are you like me?", - "tryAgainLater": "Too many attempts made. Please try again in 5 minutes." + "tryAgainLater": "Too many attempts made. Please try again in 5 minutes.", + "enterSpaceCode": "Enter the Space Code", + "shareSpaceLink": "Share link to space" } \ No newline at end of file diff --git a/lib/pangea/public_spaces/pangea_public_room_bottom_sheet.dart b/lib/pangea/public_spaces/pangea_public_room_bottom_sheet.dart index 8c8c9f742..47c463eb0 100644 --- a/lib/pangea/public_spaces/pangea_public_room_bottom_sheet.dart +++ b/lib/pangea/public_spaces/pangea_public_room_bottom_sheet.dart @@ -229,12 +229,21 @@ class PangeaPublicRoomBottomSheetState Expanded( child: TextField( controller: _codeController, - decoration: const InputDecoration( + decoration: InputDecoration( border: InputBorder.none, focusedBorder: InputBorder.none, enabledBorder: InputBorder.none, errorBorder: InputBorder.none, disabledBorder: InputBorder.none, + hintText: + L10n.of(context).enterSpaceCode, + contentPadding: + const EdgeInsets.symmetric( + horizontal: 16.0, + ), + hintStyle: TextStyle( + color: Theme.of(context).hintColor, + ), ), ), ), @@ -294,12 +303,12 @@ class PangeaPublicRoomBottomSheetState mainAxisAlignment: MainAxisAlignment.center, children: [ const Icon( - Icons.copy_outlined, + Icons.share_outlined, size: 20.0, ), Flexible( child: Text( - roomAlias, + L10n.of(context).shareSpaceLink, overflow: TextOverflow.ellipsis, ), ), @@ -336,12 +345,12 @@ class PangeaPublicRoomBottomSheetState mainAxisAlignment: MainAxisAlignment.center, children: [ const Icon( - Icons.copy_outlined, + Icons.share_outlined, size: 20.0, ), Flexible( child: Text( - roomAlias, + L10n.of(context).shareSpaceLink, overflow: TextOverflow.ellipsis, ), ),