mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +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 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) {
|
||||
await TorService.sharedInstance.start();
|
||||
}
|
||||
|
|
|
@ -57,6 +57,7 @@ class TorService {
|
|||
// could throw an exception here or something so the caller
|
||||
// is explicitly made aware of this
|
||||
// TODO restart tor after that's been added to the tor-ffi crate
|
||||
// (probably better to have a restart function separately)
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue