File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
pages/add_wallet_views/add_wallet_view Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ final openedFromSWBFileStringStateProvider =
7070// runs the MyApp widget and checks for new users, caching the value in the
7171// miscellaneous box for later use
7272void main () async {
73- WidgetsBinding widgetsBinding = WidgetsFlutterBinding .ensureInitialized ();
73+ WidgetsFlutterBinding .ensureInitialized ();
7474 GoogleFonts .config.allowRuntimeFetching = false ;
7575 if (Platform .isIOS) {
7676 Util .libraryPath = await getLibraryDirectory ();
@@ -179,7 +179,9 @@ void main() async {
179179 }
180180
181181 monero.onStartup ();
182- wownero.onStartup ();
182+ if (! Platform .isLinux && ! Platform .isWindows) {
183+ wownero.onStartup ();
184+ }
183185
184186 // SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual,
185187 // overlays: [SystemUiOverlay.bottom]);
Original file line number Diff line number Diff line change @@ -120,6 +120,8 @@ class _AddWalletViewState extends ConsumerState<AddWalletView> {
120120 if (Platform .isWindows) {
121121 _coins.remove (Coin .monero);
122122 _coins.remove (Coin .wownero);
123+ } else if (Platform .isLinux) {
124+ _coins.remove (Coin .wownero);
123125 }
124126
125127 coinEntities.addAll (_coins.map ((e) => CoinEntity (e)));
Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ class _NodesSettings extends ConsumerState<NodesSettings> {
5858 if (Platform .isWindows) {
5959 _coins.remove (Coin .monero);
6060 _coins.remove (Coin .wownero);
61+ } else if (Platform .isLinux) {
62+ _coins.remove (Coin .wownero);
6163 }
6264
6365 searchNodeController = TextEditingController ();
You can’t perform that action at this time.
0 commit comments