scrollable confirm send screen on desktop

This commit is contained in:
julian 2024-01-12 14:50:39 -06:00
parent c841b969b2
commit 05c2974eb0
4 changed files with 8 additions and 4 deletions

View file

@ -120,7 +120,7 @@ class _PaynymDetailsPopupState extends ConsumerState<DesktopPaynymDetails> {
showDialog( showDialog(
context: context, context: context,
builder: (context) => DesktopDialog( builder: (context) => DesktopDialog(
maxHeight: double.infinity, maxHeight: MediaQuery.of(context).size.height - 64,
maxWidth: 580, maxWidth: 580,
child: ConfirmTransactionView( child: ConfirmTransactionView(
walletId: widget.walletId, walletId: widget.walletId,

View file

@ -457,7 +457,11 @@ class _ConfirmTransactionViewState
), ),
], ],
), ),
child, Flexible(
child: SingleChildScrollView(
child: child,
),
),
], ],
), ),
child: Column( child: Column(

View file

@ -457,7 +457,7 @@ class _DesktopSendState extends ConsumerState<DesktopSend> {
showDialog( showDialog(
context: context, context: context,
builder: (context) => DesktopDialog( builder: (context) => DesktopDialog(
maxHeight: double.infinity, maxHeight: MediaQuery.of(context).size.height - 64,
maxWidth: 580, maxWidth: 580,
child: ConfirmTransactionView( child: ConfirmTransactionView(
txData: txData, txData: txData,

View file

@ -279,7 +279,7 @@ class _DesktopTokenSendState extends ConsumerState<DesktopTokenSend> {
showDialog( showDialog(
context: context, context: context,
builder: (context) => DesktopDialog( builder: (context) => DesktopDialog(
maxHeight: double.infinity, maxHeight: MediaQuery.of(context).size.height - 64,
maxWidth: 580, maxWidth: 580,
child: ConfirmTransactionView( child: ConfirmTransactionView(
txData: txData, txData: txData,