summaryrefslogtreecommitdiff
path: root/Source/Android/app/src/main/java
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2023-01-07 19:27:30 +0100
committerGitHub <noreply@github.com>2023-01-07 19:27:30 +0100
commitdcded0471986a0e8fea3fb69f596350228097189 (patch)
treecda6736d06a93640690c33600c237098df994953 /Source/Android/app/src/main/java
parent710d7e3637f9da1d0974572f04cf73f5fffe9b4b (diff)
parentd32cc1e5eb6402dff1229626855482076d9aa0da (diff)
Merge pull request #11410 from t895/fullscreen-fix
Android: Fix use of fullscreen modes on Cheats Activity
Diffstat (limited to 'Source/Android/app/src/main/java')
-rw-r--r--Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/InsetsHelper.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/InsetsHelper.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/InsetsHelper.java
index b4670341a9..cfbb859676 100644
--- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/InsetsHelper.java
+++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/InsetsHelper.java
@@ -31,12 +31,9 @@ public class InsetsHelper
// navigation bar https://issuetracker.google.com/issues/248761842
public static void applyNavbarWorkaround(int bottomInset, View workaroundView)
{
- if (bottomInset > 0)
- {
- ViewGroup.LayoutParams lpWorkaround = workaroundView.getLayoutParams();
- lpWorkaround.height = bottomInset;
- workaroundView.setLayoutParams(lpWorkaround);
- }
+ ViewGroup.LayoutParams lpWorkaround = workaroundView.getLayoutParams();
+ lpWorkaround.height = bottomInset;
+ workaroundView.setLayoutParams(lpWorkaround);
}
public static int getSystemGestureType(Context context)