mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
error message style
This commit is contained in:
parent
d21964fbdc
commit
b87ec27773
1 changed files with 6 additions and 1 deletions
|
@ -169,7 +169,12 @@ class _ProgressItem extends StatelessWidget {
|
|||
),
|
||||
title: label,
|
||||
subTitle: info != null
|
||||
? Text(info!) // TODO style error message eg. red.
|
||||
? Text(
|
||||
info!,
|
||||
style: STextStyles.w500_12(context).copyWith(
|
||||
color: Theme.of(context).extension<StackColors>()!.textError,
|
||||
),
|
||||
)
|
||||
: null,
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue