mirror of
https://github.com/bitwarden/android.git
synced 2024-12-20 08:12:26 +03:00
small padding adjustments
This commit is contained in:
parent
0cdba2a13d
commit
18ff80875a
2 changed files with 1 additions and 7 deletions
|
@ -31,12 +31,6 @@ namespace Bit.Android.Controls
|
|||
}
|
||||
}
|
||||
|
||||
protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)
|
||||
{
|
||||
base.OnElementPropertyChanged(sender, e);
|
||||
var view = (ExtendedTabbedPage)Element;
|
||||
}
|
||||
|
||||
void TabLayout.IOnTabSelectedListener.OnTabSelected(TabLayout.Tab tab)
|
||||
{
|
||||
if(Element == null)
|
||||
|
|
|
@ -72,7 +72,7 @@ namespace Bit.App
|
|||
var deviceInfo = Resolver.Resolve<IDeviceInfoService>();
|
||||
if(deviceInfo.Scale == 1) // mdpi
|
||||
{
|
||||
view.Padding = new Thickness(21, view.Padding.Top, 21, view.Padding.Bottom);
|
||||
view.Padding = new Thickness(22, view.Padding.Top, 22, view.Padding.Bottom);
|
||||
}
|
||||
else if(deviceInfo.Scale < 2) // hdpi
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue