Skip to content
This repository was archived by the owner on Apr 30, 2026. It is now read-only.

Commit 737cc56

Browse files
committed
fix(Twitter - Settings patch): Add bottom padding
1 parent 078535b commit 737cc56

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/src/main/java/app/revanced/integrations/twitter/settings/ActivityHook.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ public static boolean create(Activity act) {
3838

3939
window.getDecorView().setOnApplyWindowInsetsListener((v, insets) -> {
4040
int statusBarHeight = insets.getSystemWindowInsetTop();
41+
int navBarHeight = insets.getSystemWindowInsetBottom();
4142

42-
window.getDecorView().setPadding(v.getPaddingLeft(), statusBarHeight, v.getPaddingRight(), v.getPaddingBottom());
43+
window.getDecorView().setPadding(v.getPaddingLeft(), statusBarHeight, v.getPaddingRight(), navBarHeight);
4344

4445
return insets.consumeSystemWindowInsets();
4546
});

0 commit comments

Comments
 (0)