mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-18 02:07:43 +00:00
start tor with app in main
This commit is contained in:
parent
844e05a42b
commit
354f267942
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,7 @@ import 'package:flutter/material.dart';
|
|||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_libmonero/monero/monero.dart';
|
||||
import 'package:flutter_libmonero/wownero/wownero.dart';
|
||||
import 'package:tor/tor.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
|
@ -181,6 +182,9 @@ void main() async {
|
|||
monero.onStartup();
|
||||
wownero.onStartup();
|
||||
|
||||
dynamic tor = Tor();
|
||||
tor.start();
|
||||
|
||||
// SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual,
|
||||
// overlays: [SystemUiOverlay.bottom]);
|
||||
await NotificationApi.init();
|
||||
|
|
Loading…
Reference in a new issue