mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 05:04:35 +00:00
add a couple notes
This commit is contained in:
parent
79c1dee7ad
commit
81bbdb1b62
2 changed files with 6 additions and 1 deletions
|
@ -168,7 +168,11 @@ void main() async {
|
||||||
await Hive.openBox<dynamic>(DB.boxNamePrefs);
|
await Hive.openBox<dynamic>(DB.boxNamePrefs);
|
||||||
await Prefs.instance.init();
|
await Prefs.instance.init();
|
||||||
|
|
||||||
// Prefs.instance.useTor = true; // For testing purposes only.
|
// TODO:
|
||||||
|
// This should be moved to happen during the loading animation instead of
|
||||||
|
// showing a blank screen for 4-10 seconds.
|
||||||
|
// Some refactoring will need to be done here to make sure we don't make any
|
||||||
|
// network calls before starting up tor
|
||||||
if (Prefs.instance.useTor) {
|
if (Prefs.instance.useTor) {
|
||||||
await TorService.sharedInstance.start();
|
await TorService.sharedInstance.start();
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,6 +57,7 @@ class TorService {
|
||||||
// could throw an exception here or something so the caller
|
// could throw an exception here or something so the caller
|
||||||
// is explicitly made aware of this
|
// is explicitly made aware of this
|
||||||
// TODO restart tor after that's been added to the tor-ffi crate
|
// TODO restart tor after that's been added to the tor-ffi crate
|
||||||
|
// (probably better to have a restart function separately)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue