File tree Expand file tree Collapse file tree 6 files changed +7
-43
lines changed
Expand file tree Collapse file tree 6 files changed +7
-43
lines changed Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ public App(StringsLocalized localize)
1111 }
1212
1313 protected override Window CreateWindow ( IActivationState ? activationState )
14- => new ( new StartAppShell ( ) ) ;
14+ => new ( new AppShell ( localize ) ) ;
1515}
Original file line number Diff line number Diff line change 66 x : Class =" ShinyWonderland.AppShell"
77 x : DataType =" local:AppShell" >
88
9- <TabBar >
9+ <ShellItem Route =" startup" FlyoutItemIsVisible =" False" >
10+ <ShellContent ContentTemplate =" {DataTemplate local:StartupPage}" />
11+ </ShellItem >
12+
13+ <TabBar Route =" main" >
1014 <Tab Icon =" ride_time" >
1115 <ShellContent Title =" {Binding Localize.RideTimes}"
1216 ContentTemplate =" {DataTemplate local:RideTimesPage}" />
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 115115 <ProjectReference Include =" ..\ShinyWonderland.ApiClient\ShinyWonderland.ApiClient.csproj" />
116116 <ProjectReference Include =" ..\ShinyWonderland.Localization\ShinyWonderland.Localization.csproj" />
117117 </ItemGroup >
118-
119- <ItemGroup >
120- <MauiXaml Update =" Shells\StartAppShell.xaml" >
121- <SubType >Designer</SubType >
122- </MauiXaml >
123- <MauiXaml Update =" Shells\AppShell.xaml" >
124- <SubType >Designer</SubType >
125- </MauiXaml >
126- </ItemGroup >
127-
128- <ItemGroup >
129- <Compile Update =" Shells\StartAppShell.xaml.cs" >
130- <DependentUpon >StartAppShell.xaml</DependentUpon >
131- <SubType >Code</SubType >
132- </Compile >
133- <Compile Update =" Shells\AppShell.xaml.cs" >
134- <DependentUpon >AppShell.xaml</DependentUpon >
135- <SubType >Code</SubType >
136- </Compile >
137- </ItemGroup >
138-
139118</Project >
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public async void OnAppearing()
1313 await this . TryGps ( ) ;
1414 await this . TryGeofencing ( ) ;
1515
16- await services . Navigator . SwitchShell ( new AppShell ( services . Localized ) ) ;
16+ await services . Navigator . NavigateTo ( "//main" ) ;
1717 }
1818
1919 public void OnDisappearing ( )
You can’t perform that action at this time.
0 commit comments