Skip to content

Commit 3b249f1

Browse files
committed
fix provider lifecycle issue
1 parent 73fd816 commit 3b249f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/lib/features/tor/presentation/controllers/start_tor_proxy.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import 'package:weblibre/features/tor/presentation/widgets/tor_notification.dart
2626

2727
part 'start_tor_proxy.g.dart';
2828

29-
@Riverpod()
29+
@Riverpod(keepAlive: true)
3030
class StartProxyController extends _$StartProxyController {
3131
// ignore: document_ignores is used for dialog
3232
// ignore: avoid_build_context_in_providers

app/lib/features/tor/presentation/controllers/start_tor_proxy.g.dart

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)