Minor changes.

This commit is contained in:
angel.teran 2019-06-05 08:22:00 +02:00
parent 2f4bd94a8a
commit d156768e86

View File

@ -57,7 +57,7 @@ public class SafeInsets extends CordovaPlugin {
rootView.setOnApplyWindowInsetsListener(new View.OnApplyWindowInsetsListener() {
@Override
public WindowInsets onApplyWindowInsets(View view, WindowInsets insets) {
rootView.onApplyWindowInsets(insets);
view.onApplyWindowInsets(insets);
int top = insets.getSystemWindowInsetTop(),
right = insets.getSystemWindowInsetRight(),