mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-30 23:16:09 +00:00 
			
		
		
		
	Nouvelle liste
This commit is contained in:
		
							parent
							
								
									7b1342e5df
								
							
						
					
					
						commit
						e8852bb569
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -26,6 +26,7 @@ namespace AideDeJeu.ViewModels | ||||||
|             "Grimoire", |             "Grimoire", | ||||||
|             "Bestiaire", |             "Bestiaire", | ||||||
|             "Sac", |             "Sac", | ||||||
|  |             "Nouvelle liste", | ||||||
|         }; |         }; | ||||||
| 
 | 
 | ||||||
|         private int _BookmarkCollectionIndex = 0; |         private int _BookmarkCollectionIndex = 0; | ||||||
|  | @ -65,11 +66,15 @@ namespace AideDeJeu.ViewModels | ||||||
| 
 | 
 | ||||||
|         private async Task ExecuteSelectedIndexChangedCommand() |         private async Task ExecuteSelectedIndexChangedCommand() | ||||||
|         { |         { | ||||||
|             if (BookmarkCollectionIndex >= 0 && BookmarkCollectionIndex < BookmarkCollectionNames.Count) |             if (BookmarkCollectionIndex >= 0 && BookmarkCollectionIndex < BookmarkCollectionNames.Count - 1) | ||||||
|             { |             { | ||||||
|                 //BookmarkCollectionIndex = index; |                 //BookmarkCollectionIndex = index; | ||||||
|                 await LoadBookmarkCollection(BookmarkCollectionNames[BookmarkCollectionIndex]); |                 await LoadBookmarkCollection(BookmarkCollectionNames[BookmarkCollectionIndex]); | ||||||
|             } |             } | ||||||
|  |             else if(BookmarkCollectionIndex == BookmarkCollectionNames.Count - 1) | ||||||
|  |             { | ||||||
|  |                 await Main.Navigator.OpenCancellableTextInputAlertDialog(""); | ||||||
|  |             } | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         private ICommand _GotoItemCommand = null; |         private ICommand _GotoItemCommand = null; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez