mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 22:23:44 +00:00
Compare commits
1 Commits
v2025.10.1
...
test/2025.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1b3958d96c |
@@ -482,7 +482,10 @@ public class MapButtonsController extends Fragment
|
|||||||
.build();
|
.build();
|
||||||
ViewCompat.setOnApplyWindowInsetsListener(mFrame, insetsListener);
|
ViewCompat.setOnApplyWindowInsetsListener(mFrame, insetsListener);
|
||||||
// Fixes insets on older Androids and with a search opened via API on all Androids.
|
// Fixes insets on older Androids and with a search opened via API on all Androids.
|
||||||
mFrame.post(() -> ViewCompat.requestApplyInsets(mFrame));
|
if (android.os.Build.VERSION.SDK_INT <= android.os.Build.VERSION_CODES.Q)
|
||||||
|
mFrame.postDelayed(() -> ViewCompat.requestApplyInsets(mFrame), 1250);
|
||||||
|
else
|
||||||
|
mFrame.post(() -> ViewCompat.requestApplyInsets(mFrame));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user