diff --git a/lib/pages/home_view/home_view.dart b/lib/pages/home_view/home_view.dart index b99d8cd1c..457cbb418 100644 --- a/lib/pages/home_view/home_view.dart +++ b/lib/pages/home_view/home_view.dart @@ -33,7 +33,6 @@ import 'package:stackwallet/utilities/text_styles.dart'; import 'package:stackwallet/widgets/animated_widgets/rotate_icon.dart'; import 'package:stackwallet/widgets/background.dart'; import 'package:stackwallet/widgets/custom_buttons/app_bar_icon_button.dart'; -import 'package:stackwallet/widgets/onetime_popups/tor_has_been_add_dialog.dart'; import 'package:stackwallet/widgets/small_tor_icon.dart'; import 'package:stackwallet/widgets/stack_dialog.dart'; @@ -130,9 +129,9 @@ class _HomeViewState extends ConsumerState { ref.read(notificationsProvider).startCheckingWatchedNotifications(); - WidgetsBinding.instance.addPostFrameCallback((timeStamp) { - showOneTimeTorHasBeenAddedDialogIfRequired(context); - }); + // WidgetsBinding.instance.addPostFrameCallback((timeStamp) { + // showOneTimeTorHasBeenAddedDialogIfRequired(context); + // }); super.initState(); } diff --git a/lib/pages_desktop_specific/desktop_home_view.dart b/lib/pages_desktop_specific/desktop_home_view.dart index 4eba04ce8..11270d587 100644 --- a/lib/pages_desktop_specific/desktop_home_view.dart +++ b/lib/pages_desktop_specific/desktop_home_view.dart @@ -31,7 +31,6 @@ import 'package:stackwallet/route_generator.dart'; import 'package:stackwallet/themes/stack_colors.dart'; import 'package:stackwallet/utilities/enums/backup_frequency_type.dart'; import 'package:stackwallet/widgets/background.dart'; -import 'package:stackwallet/widgets/onetime_popups/tor_has_been_add_dialog.dart'; class DesktopHomeView extends ConsumerStatefulWidget { const DesktopHomeView({Key? key}) : super(key: key); @@ -54,9 +53,9 @@ class _DesktopHomeViewState extends ConsumerState { initialRoute: MyStackView.routeName, ); - WidgetsBinding.instance.addPostFrameCallback((timeStamp) { - showOneTimeTorHasBeenAddedDialogIfRequired(context); - }); + // WidgetsBinding.instance.addPostFrameCallback((timeStamp) { + // showOneTimeTorHasBeenAddedDialogIfRequired(context); + // }); super.initState(); }