mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
fix: make tor wait only for 5 seconds (#2360)
This commit is contained in:
@@ -21,7 +21,7 @@ abstract class StartTorViewModelBase with Store {
|
||||
}
|
||||
|
||||
Timer? _timer;
|
||||
final int waitTimeInSeconds = 15;
|
||||
final int waitTimeInSeconds = 5;
|
||||
|
||||
@observable
|
||||
bool isLoading = true;
|
||||
@@ -30,7 +30,7 @@ abstract class StartTorViewModelBase with Store {
|
||||
bool timeoutReached = false;
|
||||
|
||||
@observable
|
||||
int remainingSeconds = 15;
|
||||
late int remainingSeconds = waitTimeInSeconds;
|
||||
|
||||
@computed
|
||||
bool get showOptions => timeoutReached;
|
||||
|
||||
Reference in New Issue
Block a user