From 7770064ce11ffddec88dae54cd83099cc332341c Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 21 Nov 2016 10:03:02 +0100 Subject: [PATCH] toolbar item priority ... --- BookAStar/BookAStar/App.xaml.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/BookAStar/BookAStar/App.xaml.cs b/BookAStar/BookAStar/App.xaml.cs index 436e0766..b5a00742 100644 --- a/BookAStar/BookAStar/App.xaml.cs +++ b/BookAStar/BookAStar/App.xaml.cs @@ -207,7 +207,7 @@ namespace BookAStar masterDetail.Detail = new NavigationPage(home); ToolbarItem tiSetts = new ToolbarItem() { - Priority = 0, + // FIXME what for? Priority = 0, Text = "Paramètres", Icon = "ic_corp_icon.png", Command = new Command( @@ -217,7 +217,6 @@ namespace BookAStar ToolbarItem tiHome = new ToolbarItem() { - Priority = -1, Text = "Accueil", Icon = "icon.png", Command = new Command( @@ -227,7 +226,6 @@ namespace BookAStar ToolbarItem tiPubChat= new ToolbarItem() { - Priority = 1, Text = "Chat", Icon = "chat_icon_s.png", Command = new Command( @@ -237,7 +235,6 @@ namespace BookAStar masterDetail.ToolbarItems.Add(tiHome); masterDetail.ToolbarItems.Add(tiSetts); masterDetail.ToolbarItems.Add(tiPubChat); - this.MainPage = masterDetail; NavigationService = new NavigationService(masterDetail.Detail.Navigation); }