mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
fic editor renderer and add incognito to prompt
This commit is contained in:
parent
1c58d99006
commit
bc0bb7c7bb
2 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,7 @@ using Bit.Droid.Renderers;
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Platform.Android;
|
||||
|
||||
[assembly: ExportRenderer(typeof(Entry), typeof(CustomEditorRenderer))]
|
||||
[assembly: ExportRenderer(typeof(Editor), typeof(CustomEditorRenderer))]
|
||||
namespace Bit.Droid.Renderers
|
||||
{
|
||||
public class CustomEditorRenderer : EditorRenderer
|
||||
|
|
|
@ -16,6 +16,7 @@ using Android.Support.V4.Content;
|
|||
using Android.Text;
|
||||
using Android.Text.Method;
|
||||
using Android.Views.Autofill;
|
||||
using Android.Views.InputMethods;
|
||||
using Android.Webkit;
|
||||
using Android.Widget;
|
||||
using Bit.App.Abstractions;
|
||||
|
@ -255,6 +256,8 @@ namespace Bit.Droid.Services
|
|||
#pragma warning restore CS0618 // Type or member is obsolete
|
||||
}
|
||||
|
||||
input.ImeOptions = input.ImeOptions | (ImeAction)ImeFlags.NoPersonalizedLearning |
|
||||
(ImeAction)ImeFlags.NoExtractUi;
|
||||
input.Text = text;
|
||||
input.SetSelection(text.Length);
|
||||
var container = new FrameLayout(activity);
|
||||
|
|
Loading…
Reference in a new issue