From bc40c95f20a9b1df6d10380224491c2f7454fb05 Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Mon, 18 Dec 2017 06:19:06 -0800 Subject: [PATCH] Vault: Don't specify page options for ActivityLoading (#215) When specifying page options the loader doesn't appear properly on UWP applications. I also couldn't see the options documented here: https://developer.xamarin.com/api/type/Xamarin.Forms.ActivityIndicator/ Signed-off-by: Alistair Francis --- src/App/Pages/Vault/VaultAutofillListCiphersPage.cs | 4 +--- src/App/Pages/Vault/VaultListCiphersPage.cs | 4 +--- src/App/Pages/Vault/VaultListGroupingsPage.cs | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/App/Pages/Vault/VaultAutofillListCiphersPage.cs b/src/App/Pages/Vault/VaultAutofillListCiphersPage.cs index 54e343d6f..4ae91cd59 100644 --- a/src/App/Pages/Vault/VaultAutofillListCiphersPage.cs +++ b/src/App/Pages/Vault/VaultAutofillListCiphersPage.cs @@ -115,9 +115,7 @@ namespace Bit.App.Pages LoadingIndicator = new ActivityIndicator { - IsRunning = true, - VerticalOptions = LayoutOptions.CenterAndExpand, - HorizontalOptions = LayoutOptions.Center + IsRunning = true }; Content = LoadingIndicator; diff --git a/src/App/Pages/Vault/VaultListCiphersPage.cs b/src/App/Pages/Vault/VaultListCiphersPage.cs index f34234b2d..250fd242d 100644 --- a/src/App/Pages/Vault/VaultListCiphersPage.cs +++ b/src/App/Pages/Vault/VaultListCiphersPage.cs @@ -164,9 +164,7 @@ namespace Bit.App.Pages LoadingIndicator = new ActivityIndicator { - IsRunning = true, - VerticalOptions = LayoutOptions.CenterAndExpand, - HorizontalOptions = LayoutOptions.Center + IsRunning = true }; Content = LoadingIndicator; diff --git a/src/App/Pages/Vault/VaultListGroupingsPage.cs b/src/App/Pages/Vault/VaultListGroupingsPage.cs index 4c383de57..41d46ac99 100644 --- a/src/App/Pages/Vault/VaultListGroupingsPage.cs +++ b/src/App/Pages/Vault/VaultListGroupingsPage.cs @@ -106,9 +106,7 @@ namespace Bit.App.Pages LoadingIndicator = new ActivityIndicator { - IsRunning = true, - VerticalOptions = LayoutOptions.CenterAndExpand, - HorizontalOptions = LayoutOptions.Center + IsRunning = true }; Content = LoadingIndicator;