mirror of
https://github.com/bitwarden/mobile.git
synced 2025-01-29 22:21:25 +01:00
fic editor renderer and add incognito to prompt
This commit is contained in:
parent
1c58d99006
commit
bc0bb7c7bb
@ -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 New Issue
Block a user