fic editor renderer and add incognito to prompt

This commit is contained in:
Kyle Spearrin 2019-06-05 16:48:54 -04:00
parent 1c58d99006
commit bc0bb7c7bb
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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);