mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +00:00
added keys to const desktop views
This commit is contained in:
parent
fe05cc9cda
commit
3f9111faac
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@ class _DesktopHomeViewState extends ConsumerState<DesktopHomeView> {
|
|||
int currentViewIndex = 0;
|
||||
final List<Widget> contentViews = [
|
||||
const Navigator(
|
||||
key: Key("desktopStackHomeKey"),
|
||||
onGenerateRoute: RouteGenerator.generateRoute,
|
||||
initialRoute: MyStackView.routeName,
|
||||
),
|
||||
|
@ -32,6 +33,7 @@ class _DesktopHomeViewState extends ConsumerState<DesktopHomeView> {
|
|||
color: Colors.orange,
|
||||
),
|
||||
const Navigator(
|
||||
key: Key("desktopSettingHomeKey"),
|
||||
onGenerateRoute: RouteGenerator.generateRoute,
|
||||
initialRoute: SettingsMenu.routeName,
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue