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:
ggurdin 2026-02-26 16:05:36 -05:00 committed by GitHub
parent 33e54d3457
commit 9aee84f42c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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