refactoring
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:lensai/features/geckoview/domain/controllers/overlay_dialog.dart';
|
||||
import 'package:lensai/features/geckoview/domain/controllers/overlay.dart';
|
||||
import 'package:lensai/features/tor/domain/services/tor_proxy.dart';
|
||||
import 'package:lensai/features/tor/presentation/widgets/tor_dialog.dart';
|
||||
import 'package:lensai/features/tor/presentation/widgets/tor_notification.dart';
|
||||
@@ -26,7 +26,7 @@ class StartProxyController extends _$StartProxyController {
|
||||
final connection = ref.read(torProxyServiceProvider.notifier).connect();
|
||||
|
||||
ref
|
||||
.read(overlayDialogControllerProvider.notifier)
|
||||
.read(overlayControllerProvider.notifier)
|
||||
.show(Positioned(top: 0, left: 0, child: TorNotification()));
|
||||
|
||||
await connection;
|
||||
|
||||
@@ -7,7 +7,7 @@ part of 'start_tor_proxy.dart';
|
||||
// **************************************************************************
|
||||
|
||||
String _$startProxyControllerHash() =>
|
||||
r'c49d4f75bb499b3e695f1c4d08dcc095cfee7143';
|
||||
r'7ba8d6eded4664a8aa3eb1360926c56e9185cac9';
|
||||
|
||||
/// See also [StartProxyController].
|
||||
@ProviderFor(StartProxyController)
|
||||
|
||||
Reference in New Issue
Block a user