Hide activity end prompt text when activity is archived (#4364)
* Initial plan * Hide activity end prompt when activity is archived Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
This commit is contained in:
parent
60caaa5218
commit
bb0206780c
1 changed files with 8 additions and 7 deletions
|
|
@ -196,14 +196,15 @@ class ActivityStatsMenuState extends State<ActivityStatsMenu> {
|
|||
),
|
||||
],
|
||||
),
|
||||
Text(
|
||||
L10n.of(context).activityDropdownDesc,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
fontSize: 16.0,
|
||||
fontWeight: FontWeight.w600,
|
||||
if (!room.hasArchivedActivity)
|
||||
Text(
|
||||
L10n.of(context).activityDropdownDesc,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
fontSize: 16.0,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
),
|
||||
),
|
||||
if (!userComplete) ...[
|
||||
if (shouldShowEndForAll)
|
||||
ElevatedButton(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue