Skip to content

Commit 918adad

Browse files
Update src/plugins/system/android/com/foxdebug/system/SoftInputAssist.java
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 348cc69 commit 918adad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/system/android/com/foxdebug/system/SoftInputAssist.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public SoftInputAssist(Activity activity) {
2020
int heightDiff = rootView.getHeight() - (r.bottom - r.top);
2121

2222
// Save baseline (system bars only)
23-
if (baseline == -1) {
23+
if (baseline == -1 || heightDiff < baseline) {
2424
baseline = heightDiff;
2525
}
2626

0 commit comments

Comments
 (0)