mirror of
https://github.com/bitwarden/mobile
synced 2026-01-03 09:03:35 +00:00
set default uri on add cipher
This commit is contained in:
@@ -258,7 +258,14 @@ namespace Bit.App.Pages
|
||||
}
|
||||
}
|
||||
|
||||
NameCell?.Entry.FocusWithDelay();
|
||||
if(NameCell != null && string.IsNullOrWhiteSpace(NameCell.Entry.Text))
|
||||
{
|
||||
NameCell.Entry.FocusWithDelay();
|
||||
}
|
||||
else if(LoginUsernameCell != null && string.IsNullOrWhiteSpace(LoginUsernameCell.Entry.Text))
|
||||
{
|
||||
LoginUsernameCell.Entry.FocusWithDelay();
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnDisappearing()
|
||||
@@ -440,7 +447,7 @@ namespace Bit.App.Pages
|
||||
TextColor = Colors.Primary
|
||||
};
|
||||
UrisSection.Add(AddUriCell);
|
||||
UrisSection.Insert(0, Helpers.MakeUriCell(string.Empty, null, UrisSection, this));
|
||||
UrisSection.Insert(0, Helpers.MakeUriCell(_defaultUri ?? string.Empty, null, UrisSection, this));
|
||||
}
|
||||
else if(_type == CipherType.Card)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user