1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-15 00:21:10 +00:00

Remove IME inset for dialogs

This commit is contained in:
M66B 2024-06-12 08:27:51 +02:00
parent 6dfb12ec39
commit 05485cd16f

View file

@ -184,7 +184,8 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
int bottom = windowInsets.getInsets(WindowInsetsCompat.Type.ime()).bottom;
int pad = bottom - insets.bottom;
v.setPaddingRelative(0, 0, 0, pad < 0 ? 0 : pad);
}
} else
v.setPaddingRelative(0, 0, 0, 0);
if (edge_to_edge)
for (View child : Helper.getViewsWithTag(v, "inset")) {