CAKE-169 | made Save button disabled during testing connection to node (node_create_or_edit_page.dart)

wownero
OleksandrSobol 4 years ago
parent 88477751c6
commit 83fea0e9d3

@ -171,7 +171,9 @@ class NodeCreateOrEditPage extends BasePage {
text: S.of(context).save,
color: Theme.of(context).accentTextTheme.body2.color,
textColor: Colors.white,
isDisabled: !nodeCreateOrEditViewModel.isReady,
isDisabled: (!nodeCreateOrEditViewModel.isReady)||
(nodeCreateOrEditViewModel
.connectionState is IsConnectingState),
),
)),
],

Loading…
Cancel
Save