diff --git a/lib/pages/settings_views/wallet_settings_view/wallet_network_settings_view/wallet_network_settings_view.dart b/lib/pages/settings_views/wallet_settings_view/wallet_network_settings_view/wallet_network_settings_view.dart index da50b6208..22566804a 100644 --- a/lib/pages/settings_views/wallet_settings_view/wallet_network_settings_view/wallet_network_settings_view.dart +++ b/lib/pages/settings_views/wallet_settings_view/wallet_network_settings_view/wallet_network_settings_view.dart @@ -15,11 +15,9 @@ import 'package:event_bus/event_bus.dart'; import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_svg/svg.dart'; -import '../../global_settings_view/manage_nodes_views/add_edit_node_view.dart'; -import '../../global_settings_view/tor_settings/tor_settings_view.dart'; -import '../../sub_widgets/nodes_list.dart'; -import 'sub_widgets/confirm_full_rescan.dart'; -import 'sub_widgets/rescanning_dialog.dart'; +import 'package:tuple/tuple.dart'; +import 'package:wakelock/wakelock.dart'; + import '../../../../providers/providers.dart'; import '../../../../route_generator.dart'; import '../../../../services/event_bus/events/global/blocks_remaining_event.dart'; @@ -53,8 +51,11 @@ import '../../../../widgets/rounded_container.dart'; import '../../../../widgets/rounded_white_container.dart'; import '../../../../widgets/stack_dialog.dart'; import '../../../../widgets/tor_subscription.dart'; -import 'package:tuple/tuple.dart'; -import 'package:wakelock/wakelock.dart'; +import '../../global_settings_view/manage_nodes_views/add_edit_node_view.dart'; +import '../../global_settings_view/tor_settings/tor_settings_view.dart'; +import '../../sub_widgets/nodes_list.dart'; +import 'sub_widgets/confirm_full_rescan.dart'; +import 'sub_widgets/rescanning_dialog.dart'; /// [eventBus] should only be set during testing class WalletNetworkSettingsView extends ConsumerStatefulWidget { diff --git a/lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/network_info_button.dart b/lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/network_info_button.dart index b84332c01..7fbcef510 100644 --- a/lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/network_info_button.dart +++ b/lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/network_info_button.dart @@ -14,6 +14,8 @@ import 'package:event_bus/event_bus.dart'; import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_svg/svg.dart'; +import 'package:tuple/tuple.dart'; + import '../../../../pages/settings_views/wallet_settings_view/wallet_network_settings_view/wallet_network_settings_view.dart'; import '../../../../providers/providers.dart'; import '../../../../route_generator.dart'; @@ -26,7 +28,6 @@ import '../../../../utilities/text_styles.dart'; import '../../../../utilities/util.dart'; import '../../../../widgets/desktop/desktop_dialog.dart'; import '../../../../widgets/desktop/desktop_dialog_close_button.dart'; -import 'package:tuple/tuple.dart'; class NetworkInfoButton extends ConsumerStatefulWidget { const NetworkInfoButton({ @@ -226,7 +227,7 @@ class _NetworkInfoButtonState extends ConsumerState { return [ FadePageRoute( DesktopDialog( - maxHeight: MediaQuery.of(context).size.height - 64, + maxHeight: null, maxWidth: 580, child: Column( mainAxisSize: MainAxisSize.min, @@ -251,17 +252,21 @@ class _NetworkInfoButtonState extends ConsumerState { ], ), ), - Padding( - padding: const EdgeInsets.only( - top: 16, - left: 32, - right: 32, - bottom: 32, - ), - child: WalletNetworkSettingsView( - walletId: walletId, - initialSyncStatus: _currentSyncStatus, - initialNodeStatus: _currentNodeStatus, + Flexible( + child: Padding( + padding: const EdgeInsets.only( + top: 16, + left: 32, + right: 32, + bottom: 32, + ), + child: SingleChildScrollView( + child: WalletNetworkSettingsView( + walletId: walletId, + initialSyncStatus: _currentSyncStatus, + initialNodeStatus: _currentNodeStatus, + ), + ), ), ), ],