fix: make tor wait only for 5 seconds (#2360)

cyan committed Jul 4, 2025 at 01:50 UTC ff999f9a1701c6d1b4e497e822937640bf69629e
1 file changed +2 -2
lib/view_model/start_tor_view_model.dart
+2 -2
@@ -21,7 +21,7 @@ abstract class StartTorViewModelBase with Store {
21 }
22
23 Timer? _timer;
24 - final int waitTimeInSeconds = 15;
24 + final int waitTimeInSeconds = 5;
25
26 @observable
27 bool isLoading = true;
@@ -30,7 +30,7 @@ abstract class StartTorViewModelBase with Store {
30 bool timeoutReached = false;
31
32 @observable
33 - int remainingSeconds = 15;
33 + late int remainingSeconds = waitTimeInSeconds;
34
35 @computed
36 bool get showOptions => timeoutReached;