From 1545eb80bdb41e78fce3d0d50d94db8d31f1c2bf Mon Sep 17 00:00:00 2001 From: David Britch Date: Thu, 9 Nov 2017 11:21:03 +0000 Subject: [PATCH] Replaced deprecated OnPlatform API. Fixes #399 --- .../eShopOnContainers.Core/App.xaml | 229 +++++++++--------- .../Controls/AddBasketButton.xaml | 18 +- .../Views/CampaignDetailsView.xaml | 9 +- .../Views/CampaignView.xaml | 9 +- .../Views/CatalogView.xaml | 9 +- .../Views/CheckoutView.xaml | 9 +- .../Views/FiltersView.xaml | 18 +- .../Views/LoginView.xaml | 84 +++---- .../Views/MainView.xaml | 52 ++-- .../Views/OrderDetailView.xaml | 9 +- .../Views/SettingsView.xaml | 90 +++---- .../Views/Templates/BasketItemTemplate.xaml | 11 +- .../Views/Templates/CampaignTemplate.xaml | 20 +- .../Views/Templates/ProductTemplate.xaml | 20 +- 14 files changed, 277 insertions(+), 310 deletions(-) diff --git a/src/Mobile/eShopOnContainers/eShopOnContainers.Core/App.xaml b/src/Mobile/eShopOnContainers/eShopOnContainers.Core/App.xaml index 79b0ff307..481c5c100 100644 --- a/src/Mobile/eShopOnContainers/eShopOnContainers.Core/App.xaml +++ b/src/Mobile/eShopOnContainers/eShopOnContainers.Core/App.xaml @@ -34,148 +34,139 @@ Transparent Transparent - + + + - + + + + - + + + + - + + + + - + + + + - + + + + - + + + - + + + - + + + + + - + + + + + - + + + + + - + + + + - + + + + - + + + + - + + + + - + + + + - + + + + - + + + + - + + + + - + + + + - + + + + - + + + + diff --git a/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Controls/AddBasketButton.xaml b/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Controls/AddBasketButton.xaml index 034af4954..866cdbfb1 100644 --- a/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Controls/AddBasketButton.xaml +++ b/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Controls/AddBasketButton.xaml @@ -44,11 +44,10 @@ - + + + + - + + + + - + + + + diff --git a/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views/CampaignView.xaml b/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views/CampaignView.xaml index 7faf088a0..0ec8f0a6b 100644 --- a/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views/CampaignView.xaml +++ b/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views/CampaignView.xaml @@ -90,11 +90,10 @@ VerticalOptions="Center" HorizontalOptions="Center"> - + + + + diff --git a/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views/CatalogView.xaml b/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views/CatalogView.xaml index d7d68d1f5..6f834d7c0 100644 --- a/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views/CatalogView.xaml +++ b/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views/CatalogView.xaml @@ -114,11 +114,10 @@ VerticalOptions="Center" HorizontalOptions="Center"> - + + + + diff --git a/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views/CheckoutView.xaml b/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views/CheckoutView.xaml index 12fcaaabe..7b3b47077 100644 --- a/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views/CheckoutView.xaml +++ b/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views/CheckoutView.xaml @@ -231,11 +231,10 @@ VerticalOptions="Center" HorizontalOptions="Center"> - + + + + diff --git a/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views/FiltersView.xaml b/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views/FiltersView.xaml index 9a9d4f04a..b7ebe0c0a 100644 --- a/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views/FiltersView.xaml +++ b/src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views/FiltersView.xaml @@ -76,11 +76,10 @@ SelectedItem="{Binding Brand, Mode=TwoWay}" Style="{StaticResource FilterPickerStyle}"> - + + + + @@ -91,11 +90,10 @@ SelectedItem="{Binding Type, Mode=TwoWay}" Style="{StaticResource FilterPickerStyle}"> - + + + +