mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
don't scroll in scroll, size debug log dialog down on small screens
This commit is contained in:
parent
2bb00d561f
commit
8c7f9b491d
2 changed files with 5 additions and 4 deletions
|
@ -321,9 +321,7 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
|
|||
useSafeArea: false,
|
||||
barrierDismissible: true,
|
||||
builder: (context) {
|
||||
return const SingleChildScrollView(
|
||||
child: DebugInfoDialog(),
|
||||
);
|
||||
return const DebugInfoDialog();
|
||||
},
|
||||
);
|
||||
},
|
||||
|
|
|
@ -98,7 +98,10 @@ class _DebugInfoDialog extends ConsumerState<DebugInfoDialog> {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return DesktopDialog(
|
||||
maxHeight: 850,
|
||||
// Max height of 850 unless the screen is smaller than that.
|
||||
maxHeight: MediaQuery.of(context).size.height < 850
|
||||
? MediaQuery.of(context).size.height
|
||||
: 850,
|
||||
maxWidth: 600,
|
||||
child: Column(
|
||||
children: [
|
||||
|
|
Loading…
Reference in a new issue