diff --git a/TheGameExtreme.Android/MainActivity.cs b/TheGameExtreme.Android/MainActivity.cs index 8a6d4ef..6229311 100644 --- a/TheGameExtreme.Android/MainActivity.cs +++ b/TheGameExtreme.Android/MainActivity.cs @@ -10,7 +10,7 @@ using Xamarin.Forms; namespace TheGameExtreme.Droid { - [Activity(Label = "OrderStacks", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation, ScreenOrientation = ScreenOrientation.Landscape)] // ConfigChanges.Navigation + [Activity(Label = "OrderStacks", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation, ScreenOrientation = ScreenOrientation.Landscape)] public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity { diff --git a/TheGameExtreme/view/MainPage.xaml.cs b/TheGameExtreme/view/MainPage.xaml.cs index 5f9d13e..7655187 100644 --- a/TheGameExtreme/view/MainPage.xaml.cs +++ b/TheGameExtreme/view/MainPage.xaml.cs @@ -55,6 +55,8 @@ namespace TheGameExtreme.view NavigationPage.SetHasNavigationBar(this, false); + base.OnAppearing(); + EndTurnButton.Text = AppResources.StrEndTurn; // Trouver le moyen d'avoir du binding viewmodel = new Main(this.playersNames, nbPile, nbCard, indexMode);