mirror of
https://github.com/elasthink/cordova-plugin-safeinsets.git
synced 2026-04-11 00:00:03 +08:00
Minor changes.
This commit is contained in:
@@ -57,7 +57,7 @@ public class SafeInsets extends CordovaPlugin {
|
|||||||
rootView.setOnApplyWindowInsetsListener(new View.OnApplyWindowInsetsListener() {
|
rootView.setOnApplyWindowInsetsListener(new View.OnApplyWindowInsetsListener() {
|
||||||
@Override
|
@Override
|
||||||
public WindowInsets onApplyWindowInsets(View view, WindowInsets insets) {
|
public WindowInsets onApplyWindowInsets(View view, WindowInsets insets) {
|
||||||
rootView.onApplyWindowInsets(insets);
|
view.onApplyWindowInsets(insets);
|
||||||
|
|
||||||
int top = insets.getSystemWindowInsetTop(),
|
int top = insets.getSystemWindowInsetTop(),
|
||||||
right = insets.getSystemWindowInsetRight(),
|
right = insets.getSystemWindowInsetRight(),
|
||||||
|
|||||||
Reference in New Issue
Block a user