|
|
|
@ -216,17 +216,19 @@ class ActivitySuggestionsAreaState extends State<ActivitySuggestionsArea> {
|
|
|
|
? L10n.of(context).activitySuggestionTimeoutMessage
|
|
|
|
? L10n.of(context).activitySuggestionTimeoutMessage
|
|
|
|
: L10n.of(context).errorFetchingActivitiesMessage,
|
|
|
|
: L10n.of(context).errorFetchingActivitiesMessage,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
ElevatedButton(
|
|
|
|
if (!_timeout)
|
|
|
|
onPressed: _setActivityItems,
|
|
|
|
ElevatedButton(
|
|
|
|
style: ElevatedButton.styleFrom(
|
|
|
|
onPressed: _setActivityItems,
|
|
|
|
backgroundColor: theme.colorScheme.primaryContainer,
|
|
|
|
style: ElevatedButton.styleFrom(
|
|
|
|
foregroundColor: theme.colorScheme.onPrimaryContainer,
|
|
|
|
backgroundColor: theme.colorScheme.primaryContainer,
|
|
|
|
padding: const EdgeInsets.symmetric(
|
|
|
|
foregroundColor:
|
|
|
|
horizontal: 12.0,
|
|
|
|
theme.colorScheme.onPrimaryContainer,
|
|
|
|
|
|
|
|
padding: const EdgeInsets.symmetric(
|
|
|
|
|
|
|
|
horizontal: 12.0,
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
child: Text(L10n.of(context).tryAgain),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
child: Text(L10n.of(context).tryAgain),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|