@falconeta/capacitor-android-full-view 0.0.18 → 0.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,6 @@ package com.falconeta.plugin.android.fullview;
2
2
 
3
3
  import android.util.DisplayMetrics;
4
4
  import android.view.View;
5
-
6
5
  import androidx.appcompat.app.AppCompatActivity;
7
6
 
8
7
  public class AndroidFullView {
@@ -11,9 +10,15 @@ public class AndroidFullView {
11
10
 
12
11
  public AndroidFullView(AppCompatActivity activity) {
13
12
  this.activity = activity;
14
- activity.getWindow().getDecorView().setSystemUiVisibility(
15
- View.SYSTEM_UI_FLAG_LAYOUT_STABLE
16
- | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION);
13
+ activity
14
+ .getWindow()
15
+ .getDecorView()
16
+ .setSystemUiVisibility(
17
+ View.SYSTEM_UI_FLAG_LAYOUT_STABLE |
18
+ View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION |
19
+ View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR |
20
+ View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR
21
+ );
17
22
  }
18
23
 
19
24
  public float getTop() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@falconeta/capacitor-android-full-view",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "Capacitor plugin for retrieving proper top offset, bottom offset and set full screen ONLY for android",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",