From b9fcf0dff8290b866de73f8508caa2ee229f3cc1 Mon Sep 17 00:00:00 2001 From: Isira Seneviratne Date: Mon, 16 Sep 2024 12:45:03 +0530 Subject: [PATCH] Enable edge-to-edge display --- app/src/main/java/org/schabi/newpipe/about/AboutActivity.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/org/schabi/newpipe/about/AboutActivity.kt b/app/src/main/java/org/schabi/newpipe/about/AboutActivity.kt index 84121eb32..b437c6acb 100644 --- a/app/src/main/java/org/schabi/newpipe/about/AboutActivity.kt +++ b/app/src/main/java/org/schabi/newpipe/about/AboutActivity.kt @@ -2,6 +2,7 @@ package org.schabi.newpipe.about import android.os.Bundle import androidx.activity.compose.setContent +import androidx.activity.enableEdgeToEdge import androidx.appcompat.app.AppCompatActivity import androidx.compose.ui.res.stringResource import org.schabi.newpipe.R @@ -13,6 +14,7 @@ import org.schabi.newpipe.util.Localization class AboutActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { Localization.assureCorrectAppLanguage(this) + enableEdgeToEdge() super.onCreate(savedInstanceState) setContent {