mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +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
|
LoadingIndicator = new ActivityIndicator
|
||||||
{
|
{
|
||||||
IsRunning = true
|
IsRunning = true,
|
||||||
|
VerticalOptions = LayoutOptions.CenterAndExpand,
|
||||||
|
HorizontalOptions = LayoutOptions.Center
|
||||||
};
|
};
|
||||||
|
|
||||||
Content = LoadingIndicator;
|
Content = LoadingIndicator;
|
||||||
|
|
|
@ -167,6 +167,12 @@ namespace Bit.App.Pages
|
||||||
IsRunning = true
|
IsRunning = true
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if(Device.RuntimePlatform != Device.UWP)
|
||||||
|
{
|
||||||
|
LoadingIndicator.VerticalOptions = LayoutOptions.CenterAndExpand;
|
||||||
|
LoadingIndicator.HorizontalOptions = LayoutOptions.Center;
|
||||||
|
}
|
||||||
|
|
||||||
Content = LoadingIndicator;
|
Content = LoadingIndicator;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -109,6 +109,12 @@ namespace Bit.App.Pages
|
||||||
IsRunning = true
|
IsRunning = true
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if(Device.RuntimePlatform != Device.UWP)
|
||||||
|
{
|
||||||
|
LoadingIndicator.VerticalOptions = LayoutOptions.CenterAndExpand;
|
||||||
|
LoadingIndicator.HorizontalOptions = LayoutOptions.Center;
|
||||||
|
}
|
||||||
|
|
||||||
Content = LoadingIndicator;
|
Content = LoadingIndicator;
|
||||||
Title = AppResources.MyVault;
|
Title = AppResources.MyVault;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue