Make join button able to adjust size with L1 translation (#4525)
This commit is contained in:
parent
1fe9e211a5
commit
28331df082
1 changed files with 9 additions and 4 deletions
|
|
@ -94,6 +94,7 @@ class ActivityTemplateChatListItem extends StatelessWidget {
|
|||
left: 14.0,
|
||||
),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
Expanded(
|
||||
child: OpenRolesIndicator(
|
||||
|
|
@ -102,16 +103,20 @@ class ActivityTemplateChatListItem extends StatelessWidget {
|
|||
space: space,
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
height: 24.0,
|
||||
width: 40.0,
|
||||
ConstrainedBox(
|
||||
constraints: const BoxConstraints(
|
||||
maxHeight: 24.0,
|
||||
),
|
||||
child: ElevatedButton(
|
||||
onPressed: () => showFutureLoadingDialog(
|
||||
context: context,
|
||||
future: () => joinActivity(e),
|
||||
),
|
||||
style: ElevatedButton.styleFrom(
|
||||
padding: const EdgeInsets.all(0),
|
||||
padding: const EdgeInsets.only(
|
||||
left: 8.0,
|
||||
right: 8.0,
|
||||
),
|
||||
),
|
||||
child: Text(
|
||||
L10n.of(context).join,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue