2426-space-popup-tweaks (#2429)

* fix: Added placeholder, changed copy icon to share icon and fixed room if

* generated

* chore: move copy into intl file

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
This commit is contained in:
sienna-sterling 2025-04-11 16:00:53 -04:00 committed by GitHub
parent b8b5293132
commit 16ed4a29b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 6 deletions

View file

@ -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"
}

View file

@ -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,
),
),