mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
firo (and possibly other) send fix
This commit is contained in:
parent
1691ff8402
commit
738651183f
1 changed files with 34 additions and 28 deletions
|
@ -140,17 +140,21 @@ class _DesktopSendState extends ConsumerState<DesktopSend> {
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 40,
|
height: 40,
|
||||||
),
|
),
|
||||||
Padding(
|
Row(
|
||||||
padding: const EdgeInsets.only(
|
children: [
|
||||||
right: 32,
|
Expanded(
|
||||||
),
|
child: SecondaryButton(
|
||||||
child: SecondaryButton(
|
buttonHeight: ButtonHeight.l,
|
||||||
buttonHeight: ButtonHeight.l,
|
label: "Ok",
|
||||||
label: "Ok",
|
onPressed: () {
|
||||||
onPressed: () {
|
Navigator.of(context).pop();
|
||||||
Navigator.of(context).pop();
|
},
|
||||||
},
|
),
|
||||||
),
|
),
|
||||||
|
const SizedBox(
|
||||||
|
width: 32,
|
||||||
|
),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
@ -319,13 +323,13 @@ class _DesktopSendState extends ConsumerState<DesktopSend> {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!wasCancelled && mounted) {
|
if (!wasCancelled && mounted) {
|
||||||
|
txData["note"] = _note ?? "";
|
||||||
|
txData["address"] = _address;
|
||||||
// pop building dialog
|
// pop building dialog
|
||||||
Navigator.of(
|
Navigator.of(
|
||||||
context,
|
context,
|
||||||
rootNavigator: true,
|
rootNavigator: true,
|
||||||
).pop();
|
).pop();
|
||||||
txData["note"] = _note;
|
|
||||||
txData["address"] = _address;
|
|
||||||
|
|
||||||
unawaited(
|
unawaited(
|
||||||
showDialog(
|
showDialog(
|
||||||
|
@ -394,22 +398,24 @@ class _DesktopSendState extends ConsumerState<DesktopSend> {
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 40,
|
height: 40,
|
||||||
),
|
),
|
||||||
Padding(
|
Row(
|
||||||
padding: const EdgeInsets.only(
|
children: [
|
||||||
right: 32,
|
Expanded(
|
||||||
),
|
child: SecondaryButton(
|
||||||
child: Expanded(
|
buttonHeight: ButtonHeight.l,
|
||||||
child: SecondaryButton(
|
label: "Ok",
|
||||||
buttonHeight: ButtonHeight.l,
|
onPressed: () {
|
||||||
label: "Yes",
|
Navigator.of(
|
||||||
onPressed: () {
|
context,
|
||||||
Navigator.of(
|
rootNavigator: true,
|
||||||
context,
|
).pop();
|
||||||
rootNavigator: true,
|
},
|
||||||
).pop();
|
),
|
||||||
},
|
|
||||||
),
|
),
|
||||||
),
|
const SizedBox(
|
||||||
|
width: 32,
|
||||||
|
),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue