1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-26 12:16:07 +01:00

adjust UriCell button width

This commit is contained in:
Kyle Spearrin 2016-12-06 22:31:07 -05:00
parent 6c554b4d51
commit 7c856d08c4

View File

@ -15,7 +15,6 @@ namespace Bit.App.Pages
private readonly ISiteService _siteService;
private readonly IUserDialogs _userDialogs;
private readonly IClipboardService _clipboardService;
private readonly IDeviceInfoService _deviceInfo;
public VaultViewSitePage(string siteId)
{
@ -23,7 +22,6 @@ namespace Bit.App.Pages
_siteService = Resolver.Resolve<ISiteService>();
_userDialogs = Resolver.Resolve<IUserDialogs>();
_clipboardService = Resolver.Resolve<IClipboardService>();
_deviceInfo = Resolver.Resolve<IDeviceInfoService>();
Init();
}
@ -113,7 +111,7 @@ namespace Bit.App.Pages
PasswordCell.Button1.WidthRequest = 40;
PasswordCell.Button2.WidthRequest = 55;
UsernameCell.Button1.WidthRequest = 55;
UriCell.Button1.WidthRequest = _deviceInfo.Version < 21 ? 75 : 71;
UriCell.Button1.WidthRequest = 75;
}
Title = AppResources.ViewSite;