1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-23 11:45:38 +01:00

position indicator when not UWP for spinner

This commit is contained in:
Kyle Spearrin 2017-12-18 09:23:46 -05:00
parent bc40c95f20
commit 6fe5e89ecc
3 changed files with 15 additions and 1 deletions

View File

@ -115,7 +115,9 @@ namespace Bit.App.Pages
LoadingIndicator = new ActivityIndicator
{
IsRunning = true
IsRunning = true,
VerticalOptions = LayoutOptions.CenterAndExpand,
HorizontalOptions = LayoutOptions.Center
};
Content = LoadingIndicator;

View File

@ -167,6 +167,12 @@ namespace Bit.App.Pages
IsRunning = true
};
if(Device.RuntimePlatform != Device.UWP)
{
LoadingIndicator.VerticalOptions = LayoutOptions.CenterAndExpand;
LoadingIndicator.HorizontalOptions = LayoutOptions.Center;
}
Content = LoadingIndicator;
}

View File

@ -109,6 +109,12 @@ namespace Bit.App.Pages
IsRunning = true
};
if(Device.RuntimePlatform != Device.UWP)
{
LoadingIndicator.VerticalOptions = LayoutOptions.CenterAndExpand;
LoadingIndicator.HorizontalOptions = LayoutOptions.Center;
}
Content = LoadingIndicator;
Title = AppResources.MyVault;
}