mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
remove setting soft input mode
This commit is contained in:
parent
5932dd99ad
commit
9d0db3c1e5
2 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||||
|
|
|
@ -62,6 +62,7 @@ namespace Bit.App.Controls
|
||||||
}
|
}
|
||||||
|
|
||||||
base.OnDisappearing();
|
base.OnDisappearing();
|
||||||
|
MessagingCenter.Send(Application.Current, "DismissKeyboard");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue