diff --git a/app/lib/features/tor/presentation/controllers/start_tor_proxy.dart b/app/lib/features/tor/presentation/controllers/start_tor_proxy.dart index fbcbb6f3..4f15c98b 100644 --- a/app/lib/features/tor/presentation/controllers/start_tor_proxy.dart +++ b/app/lib/features/tor/presentation/controllers/start_tor_proxy.dart @@ -26,7 +26,7 @@ import 'package:weblibre/features/tor/presentation/widgets/tor_notification.dart part 'start_tor_proxy.g.dart'; -@Riverpod() +@Riverpod(keepAlive: true) class StartProxyController extends _$StartProxyController { // ignore: document_ignores is used for dialog // ignore: avoid_build_context_in_providers diff --git a/app/lib/features/tor/presentation/controllers/start_tor_proxy.g.dart b/app/lib/features/tor/presentation/controllers/start_tor_proxy.g.dart index 12f10939..ea6c029b 100644 --- a/app/lib/features/tor/presentation/controllers/start_tor_proxy.g.dart +++ b/app/lib/features/tor/presentation/controllers/start_tor_proxy.g.dart @@ -20,7 +20,7 @@ final class StartProxyControllerProvider argument: null, retry: null, name: r'startProxyControllerProvider', - isAutoDispose: true, + isAutoDispose: false, dependencies: null, $allTransitiveDependencies: null, ); @@ -42,7 +42,7 @@ final class StartProxyControllerProvider } String _$startProxyControllerHash() => - r'8840d5ffe9346c3f8b0aa0b3e034605b606c5e34'; + r'a04e6cffc7483d48a0f2cbc320b0cc45c2e16674'; abstract class _$StartProxyController extends $Notifier { void build();