mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-30 23:16:09 +00:00 
			
		
		
		
	Navigation ok sur racines
This commit is contained in:
		
							parent
							
								
									6abf46634c
								
							
						
					
					
						commit
						98f7aa09f9
					
				
					 3 changed files with 5 additions and 3 deletions
				
			
		|  | @ -33,6 +33,8 @@ namespace AideDeJeu | |||
|             //var mainNavigationPage = new MainNavigationPage(); | ||||
|             //vm.Navigator = new Navigator(mainNavigationPage.Navigation); | ||||
|             vm.Navigator = new Navigator(null); | ||||
| 
 | ||||
|             Routing.RegisterRoute("item", typeof(Views.Library.ItemPage)); | ||||
|             //MainPage = mainNavigationPage; | ||||
|             //mainNavigationPage.Navigation.PushAsync(new MainPage()); | ||||
| 
 | ||||
|  |  | |||
|  | @ -239,7 +239,7 @@ namespace AideDeJeu.ViewModels | |||
| 
 | ||||
|         public async Task NavigateToLinkAsync(string s) | ||||
|         { | ||||
|             await Shell.Current.GoToAsync($"//data/item?path={s}"); | ||||
|             await Shell.Current.GoToAsync($"item?path={s}"); | ||||
|             return; | ||||
|             if (s != null) | ||||
|             { | ||||
|  |  | |||
|  | @ -15,8 +15,8 @@ | |||
|     <ShellItem Title="Dés" FlyoutIcon="d20.png"> | ||||
|         <ShellContent Title="Dés"  ContentTemplate="{DataTemplate local:DicesPage}" /> | ||||
|     </ShellItem> | ||||
|     <ShellItem Title="Bibliothèque" FlyoutIcon="spell_book.png" Route="data"> | ||||
|         <ShellContent Title="Bibliothèque" Icon="spell_book.png" Route="item" ContentTemplate="{DataTemplate library:ItemPage}" /> | ||||
|     <ShellItem Title="Bibliothèque" FlyoutIcon="spell_book.png"> | ||||
|         <ShellContent Title="Bibliothèque" Icon="spell_book.png" ContentTemplate="{DataTemplate library:ItemPage}" /> | ||||
|     </ShellItem> | ||||
|     <!--<FlyoutItem Title="Héros & Dragons"> | ||||
|         <ShellContent Title="Héros & Dragons" ContentTemplate="{DataTemplate library:ItemDetailPage}" /> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez