mirror of
https://github.com/bitwarden/mobile
synced 2025-01-30 18:24:58 +01:00
Prevent touches when root view is obscured by another screen on Android (#1835)
This commit is contained in:
parent
bdd0ea007b
commit
ad7c656868
@ -74,6 +74,12 @@ namespace Bit.Droid
|
|||||||
var appCenterTask = appCenterHelper.InitAsync();
|
var appCenterTask = appCenterHelper.InitAsync();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
var toplayout = Window?.DecorView?.RootView;
|
||||||
|
if (toplayout != null)
|
||||||
|
{
|
||||||
|
toplayout.FilterTouchesWhenObscured = true;
|
||||||
|
}
|
||||||
|
|
||||||
Xamarin.Essentials.Platform.Init(this, savedInstanceState);
|
Xamarin.Essentials.Platform.Init(this, savedInstanceState);
|
||||||
Xamarin.Forms.Forms.Init(this, savedInstanceState);
|
Xamarin.Forms.Forms.Init(this, savedInstanceState);
|
||||||
_appOptions = GetOptions();
|
_appOptions = GetOptions();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user