mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
position indicator when not UWP for spinner
This commit is contained in:
parent
bc40c95f20
commit
6fe5e89ecc
3 changed files with 15 additions and 1 deletions
|
@ -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 a new issue