mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
getPrimaryEnabledButtonColor -> getPrimaryEnabledButtonStyle
This commit is contained in:
parent
b4c16ec0b0
commit
8b6fcd23b4
1 changed files with 2 additions and 2 deletions
|
@ -135,14 +135,14 @@ class _HomeViewButtonBarState extends ConsumerState<HomeViewButtonBar> {
|
||||||
style: selectedIndex == 2
|
style: selectedIndex == 2
|
||||||
? Theme.of(context)
|
? Theme.of(context)
|
||||||
.extension<StackColors>()!
|
.extension<StackColors>()!
|
||||||
.getPrimaryEnabledButtonColor(context)!
|
.getPrimaryEnabledButtonStyle(context)!
|
||||||
.copyWith(
|
.copyWith(
|
||||||
minimumSize:
|
minimumSize:
|
||||||
MaterialStateProperty.all<Size>(const Size(46, 36)),
|
MaterialStateProperty.all<Size>(const Size(46, 36)),
|
||||||
)
|
)
|
||||||
: Theme.of(context)
|
: Theme.of(context)
|
||||||
.extension<StackColors>()!
|
.extension<StackColors>()!
|
||||||
.getSecondaryEnabledButtonColor(context)!
|
.getSecondaryEnabledButtonStyle(context)!
|
||||||
.copyWith(
|
.copyWith(
|
||||||
minimumSize:
|
minimumSize:
|
||||||
MaterialStateProperty.all<Size>(const Size(46, 36)),
|
MaterialStateProperty.all<Size>(const Size(46, 36)),
|
||||||
|
|
Loading…
Reference in a new issue