Skip to content

Commit 145e571

Browse files
committed
fix(error_view): add missing action text
1 parent 4526221 commit 145e571

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/app_center/lib/error/error_view.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ class ErrorView extends StatelessWidget {
4242
),
4343
Flexible(child: Text(message.body(l10n))),
4444
const SizedBox(height: kPagePadding),
45+
if (message.actions.isNotEmpty) ...[
46+
Flexible(child: Text(message.actionLabel(l10n))),
47+
const SizedBox(height: kPagePadding),
48+
],
4549
Row(
4650
children: [
4751
if (message.actions.contains(ErrorAction.retry))

0 commit comments

Comments
 (0)