mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 03:46:00 +01:00
Fixed keyboard inset after screen off / lost focus
This commit is contained in:
@@ -248,6 +248,10 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
||||
@Override
|
||||
public void onWindowFocusChanged(boolean hasFocus) {
|
||||
hasWindowFocus = hasFocus;
|
||||
Window window = getWindow();
|
||||
View view = (window == null ? null : window.getDecorView());
|
||||
if (view != null)
|
||||
view.requestApplyInsets();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user