fix nodes connect button color

This commit is contained in:
julian 2022-10-20 10:21:42 -06:00
parent 4d98097ceb
commit 64ca94ddfb

View file

@ -306,10 +306,10 @@ class NodeOptionsSheet extends ConsumerWidget {
style: status == "Connected" style: status == "Connected"
? Theme.of(context) ? Theme.of(context)
.extension<StackColors>()! .extension<StackColors>()!
.getPrimaryEnabledButtonColor(context) .getPrimaryDisabledButtonColor(context)
: Theme.of(context) : Theme.of(context)
.extension<StackColors>()! .extension<StackColors>()!
.getPrimaryDisabledButtonColor(context), .getPrimaryEnabledButtonColor(context),
onPressed: status == "Connected" onPressed: status == "Connected"
? null ? null
: () async { : () async {