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;
}