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:
parent
bc40c95f20
commit
6fe5e89ecc
@ -115,7 +115,9 @@ namespace Bit.App.Pages
|
||||
|
||||
LoadingIndicator = new ActivityIndicator
|
||||
{
|
||||
IsRunning = true
|
||||
IsRunning = true,
|
||||
VerticalOptions = LayoutOptions.CenterAndExpand,
|
||||
HorizontalOptions = LayoutOptions.Center
|
||||
};
|
||||
|
||||
Content = LoadingIndicator;
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user