diff options
| -rwxr-xr-x | org.fox.ttrss/src/main/java/org/fox/ttrss/GalleryActivity.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/GalleryActivity.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/GalleryActivity.java index eb160708..3ac4c130 100755 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/GalleryActivity.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/GalleryActivity.java @@ -257,11 +257,14 @@ public class GalleryActivity extends CommonActivity { m_prefs = PreferenceManager .getDefaultSharedPreferences(getApplicationContext()); - getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_YES); setTheme(R.style.AppTheme); super.onCreate(savedInstanceState); + Window window = getWindow(); + WindowInsetsControllerCompat windowInsetsController = WindowCompat.getInsetsController(window, window.getDecorView()); + windowInsetsController.hide(WindowInsetsCompat.Type.statusBars()); + setContentView(R.layout.activity_gallery); Toolbar toolbar = findViewById(R.id.toolbar); |