mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 10:34:32 +00:00
fix debug address details view on desktop
This commit is contained in:
parent
40dfced949
commit
ee128810b5
1 changed files with 31 additions and 10 deletions
|
@ -619,16 +619,37 @@ class _TransactionDetailsViewState
|
|||
CustomTextButton(
|
||||
text: "Info",
|
||||
onTap: () {
|
||||
Navigator.of(context)
|
||||
.pushNamed(
|
||||
AddressDetailsView
|
||||
.routeName,
|
||||
arguments: Tuple2(
|
||||
_transaction.address
|
||||
.value!.id,
|
||||
widget.walletId,
|
||||
),
|
||||
);
|
||||
if (isDesktop) {
|
||||
showDialog<void>(
|
||||
context: context,
|
||||
builder: (_) =>
|
||||
DesktopDialog(
|
||||
maxHeight:
|
||||
double.infinity,
|
||||
child:
|
||||
AddressDetailsView(
|
||||
addressId:
|
||||
_transaction
|
||||
.address
|
||||
.value!
|
||||
.id,
|
||||
walletId: widget
|
||||
.walletId,
|
||||
),
|
||||
),
|
||||
);
|
||||
} else {
|
||||
Navigator.of(context)
|
||||
.pushNamed(
|
||||
AddressDetailsView
|
||||
.routeName,
|
||||
arguments: Tuple2(
|
||||
_transaction.address
|
||||
.value!.id,
|
||||
widget.walletId,
|
||||
),
|
||||
);
|
||||
}
|
||||
},
|
||||
)
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue