mirror of
https://github.com/bitwarden/mobile
synced 2026-01-21 11:53:15 +00:00
Added Scale to device info service. Stack layout padding adjsutments depending on android scale.
This commit is contained in:
@@ -86,7 +86,7 @@ namespace Bit.App.Controls
|
||||
{
|
||||
if(deviceInfo.Version < 21)
|
||||
{
|
||||
Entry.Margin = new Thickness(-9, 0);
|
||||
Entry.Margin = new Thickness(-9, 1, -9, 0);
|
||||
}
|
||||
else if(deviceInfo.Version == 21)
|
||||
{
|
||||
@@ -97,6 +97,11 @@ namespace Bit.App.Controls
|
||||
{
|
||||
Entry.AdjustMarginsForDevice();
|
||||
}
|
||||
|
||||
if(containerPadding == null)
|
||||
{
|
||||
imageStackLayout.AdjustPaddingForDevice();
|
||||
}
|
||||
}
|
||||
|
||||
if(!useLabelAsPlaceholder)
|
||||
|
||||
Reference in New Issue
Block a user