5832 disable start activity button if user hasnt selected a role (#5833)
* fix: disable activity session start button if not selected role * chore: always show text 'confirm' on activity session confirm role button
This commit is contained in:
parent
33e54d3457
commit
9aee84f42c
1 changed files with 4 additions and 4 deletions
|
|
@ -54,10 +54,10 @@ class ActivitySessionButtonWidget extends StatelessWidget {
|
|||
controller.returnFromFullSession,
|
||||
),
|
||||
_ => _CTAButton(
|
||||
controller.activityRoom?.isRoomAdmin ?? true
|
||||
? L10n.of(context).start
|
||||
: L10n.of(context).confirm,
|
||||
controller.confirmRoleSelection,
|
||||
L10n.of(context).confirm,
|
||||
controller.state == SessionState.selectedRole
|
||||
? controller.confirmRoleSelection
|
||||
: null,
|
||||
),
|
||||
},
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue