File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
app/src/main/java/app/grapheneos/pdfviewer Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -279,6 +279,7 @@ private void showWebViewCrashed() {
279
279
@ SuppressLint ({"SetJavaScriptEnabled" })
280
280
protected void onCreate (Bundle savedInstanceState ) {
281
281
super .onCreate (savedInstanceState );
282
+ WindowCompat .setDecorFitsSystemWindows (getWindow (), false );
282
283
283
284
binding = PdfviewerBinding .inflate (getLayoutInflater ());
284
285
setContentView (binding .getRoot ());
@@ -304,8 +305,6 @@ protected void onCreate(Bundle savedInstanceState) {
304
305
}
305
306
});
306
307
307
- WindowCompat .setDecorFitsSystemWindows (getWindow (), false );
308
-
309
308
// Margins for the toolbar are needed, so that content of the toolbar
310
309
// is not covered by a system button navigation bar when in landscape.
311
310
KtUtilsKt .applySystemBarMargins (binding .toolbar , false );
You can’t perform that action at this time.
0 commit comments