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