remove setting soft input mode

This commit is contained in:
Kyle Spearrin 2017-08-29 14:33:25 -04:00
parent 5932dd99ad
commit 9d0db3c1e5
2 changed files with 2 additions and 3 deletions

View file

@ -24,8 +24,7 @@ namespace Bit.Android
{ {
[Activity(Label = "bitwarden", [Activity(Label = "bitwarden",
Icon = "@drawable/icon", Icon = "@drawable/icon",
ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
WindowSoftInputMode = SoftInput.StateHidden)]
public class MainActivity : FormsAppCompatActivity public class MainActivity : FormsAppCompatActivity
{ {
private const string HockeyAppId = "d3834185b4a643479047b86c65293d42"; private const string HockeyAppId = "d3834185b4a643479047b86c65293d42";
@ -55,7 +54,6 @@ namespace Bit.Android
Task.Delay(10).Wait(); Task.Delay(10).Wait();
Console.WriteLine("A OnCreate"); Console.WriteLine("A OnCreate");
Window.SetSoftInputMode(SoftInput.StateHidden);
if(!App.Utilities.Helpers.InDebugMode()) if(!App.Utilities.Helpers.InDebugMode())
{ {
Window.AddFlags(WindowManagerFlags.Secure); Window.AddFlags(WindowManagerFlags.Secure);

View file

@ -62,6 +62,7 @@ namespace Bit.App.Controls
} }
base.OnDisappearing(); base.OnDisappearing();
MessagingCenter.Send(Application.Current, "DismissKeyboard");
} }
} }
} }