diff --git a/PokemonGo-UWP/App.xaml b/PokemonGo-UWP/App.xaml index 7a2fe5464..3fdf6445d 100644 --- a/PokemonGo-UWP/App.xaml +++ b/PokemonGo-UWP/App.xaml @@ -93,10 +93,15 @@ - + + + + + + + - diff --git a/PokemonGo-UWP/App.xaml.cs b/PokemonGo-UWP/App.xaml.cs index 54fdf40f2..7dd1d9cb1 100644 --- a/PokemonGo-UWP/App.xaml.cs +++ b/PokemonGo-UWP/App.xaml.cs @@ -176,10 +176,10 @@ private void CatchablePokemons_CollectionChanged(object sender, NotifyCollection /// /// public override Task OnSuspendingAsync(object s, SuspendingEventArgs e, bool prelaunchActivated) - { + { GameClient.PokemonsInventory.CollectionChanged -= PokemonsInventory_CollectionChanged; GameClient.CatchablePokemons.CollectionChanged -= CatchablePokemons_CollectionChanged; - NetworkInformation.NetworkStatusChanged -= NetworkInformationOnNetworkStatusChanged; + NetworkInformation.NetworkStatusChanged -= NetworkInformationOnNetworkStatusChanged; if (SettingsService.Instance.IsBatterySaverEnabled) _proximityHelper.EnableDisplayAutoOff(false); @@ -207,7 +207,7 @@ public override async Task OnInitializeAsync(IActivatedEventArgs args) #if DEBUG // Init logger Logger.SetLogger(new ConsoleLogger(LogLevel.Info)); -#endif +#endif // If we have a phone contract, hide the status bar if (ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar")) { @@ -218,7 +218,7 @@ public override async Task OnInitializeAsync(IActivatedEventArgs args) // Enter into full screen mode ApplicationView.GetForCurrentView().TryEnterFullScreenMode(); ApplicationView.GetForCurrentView().SetDesiredBoundsMode(ApplicationViewBoundsMode.UseCoreWindow); - ApplicationView.GetForCurrentView().FullScreenSystemOverlayMode = FullScreenSystemOverlayMode.Standard; + ApplicationView.GetForCurrentView().FullScreenSystemOverlayMode = FullScreenSystemOverlayMode.Standard; // Forces the display to stay on while we play //_displayRequest.RequestActive(); @@ -247,10 +247,10 @@ public override async Task OnInitializeAsync(IActivatedEventArgs args) // Respond to changes in inventory and Pokemon in the immediate viscinity. GameClient.PokemonsInventory.CollectionChanged += PokemonsInventory_CollectionChanged; - GameClient.CatchablePokemons.CollectionChanged += CatchablePokemons_CollectionChanged; + GameClient.CatchablePokemons.CollectionChanged += CatchablePokemons_CollectionChanged; await Task.CompletedTask; - } + } /// /// @@ -351,7 +351,7 @@ private void WindowOnVisibilityChanged(object sender, VisibilityChangedEventArgs #region Helpers /// - /// + /// /// /// /// diff --git a/PokemonGo-UWP/Assets/Icons/crown.png b/PokemonGo-UWP/Assets/Icons/crown.png deleted file mode 100644 index da84a155e..000000000 Binary files a/PokemonGo-UWP/Assets/Icons/crown.png and /dev/null differ diff --git a/PokemonGo-UWP/Assets/Icons/indicator_crown.png b/PokemonGo-UWP/Assets/Icons/indicator_crown.png new file mode 100644 index 000000000..c30fc565c Binary files /dev/null and b/PokemonGo-UWP/Assets/Icons/indicator_crown.png differ diff --git a/PokemonGo-UWP/Assets/Icons/indicator_empty.png b/PokemonGo-UWP/Assets/Icons/indicator_empty.png new file mode 100644 index 000000000..bcc56379a Binary files /dev/null and b/PokemonGo-UWP/Assets/Icons/indicator_empty.png differ diff --git a/PokemonGo-UWP/Assets/Icons/indicator_normal.png b/PokemonGo-UWP/Assets/Icons/indicator_normal.png new file mode 100644 index 000000000..8198b8142 Binary files /dev/null and b/PokemonGo-UWP/Assets/Icons/indicator_normal.png differ diff --git a/PokemonGo-UWP/Controls/MessageDialog/PoGoTeamSelectDialog.xaml b/PokemonGo-UWP/Controls/MessageDialog/PoGoTeamSelectDialog.xaml new file mode 100644 index 000000000..9173bfb31 --- /dev/null +++ b/PokemonGo-UWP/Controls/MessageDialog/PoGoTeamSelectDialog.xaml @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +