mirror of
https://github.com/bitwarden/mobile
synced 2026-01-02 00:23:15 +00:00
crash fixes
This commit is contained in:
@@ -487,15 +487,15 @@ namespace Bit.Android.Services
|
||||
{
|
||||
InputType = global::Android.Text.InputTypes.ClassText
|
||||
};
|
||||
if(text != null)
|
||||
|
||||
if(text == null)
|
||||
{
|
||||
input.Text = text;
|
||||
input.SetSelection(text.Length);
|
||||
}
|
||||
else
|
||||
{
|
||||
input.FocusedByDefault = true;
|
||||
text = string.Empty;
|
||||
}
|
||||
|
||||
input.Text = text;
|
||||
input.SetSelection(text.Length);
|
||||
|
||||
alertBuilder.SetView(input);
|
||||
|
||||
var result = new TaskCompletionSource<string>();
|
||||
|
||||
Reference in New Issue
Block a user