WIP: add tor settings to desktop

This commit is contained in:
ryleedavis 2023-09-05 13:39:57 -06:00
parent 7072c919ae
commit fcf98d8096
2 changed files with 7 additions and 0 deletions

View file

@ -10,6 +10,7 @@
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:stackwallet/pages/settings_views/global_settings_view/tor_settings/tor_settings_view.dart';
import 'package:stackwallet/pages_desktop_specific/settings/settings_menu.dart';
import 'package:stackwallet/pages_desktop_specific/settings/settings_menu/advanced_settings/advanced_settings.dart';
import 'package:stackwallet/pages_desktop_specific/settings/settings_menu/appearance_settings/appearance_settings.dart';
@ -56,6 +57,11 @@ class _DesktopSettingsViewState extends ConsumerState<DesktopSettingsView> {
key: Key("settingsLanguageDesktopKey"),
onGenerateRoute: RouteGenerator.generateRoute,
initialRoute: LanguageOptionSettings.routeName,
),
const Navigator(
key: Key("settingsTorDesktopKey"),
onGenerateRoute: RouteGenerator.generateRoute,
initialRoute: TorSettingsView.routeName,
), //language
const Navigator(
key: Key("settingsNodesDesktopKey"),

View file

@ -32,6 +32,7 @@ class _SettingsMenuState extends ConsumerState<SettingsMenu> {
"Security",
"Currency",
"Language",
"Tor settings",
"Nodes",
"Syncing preferences",
"Appearance",