1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-01-03 05:50:32 +00:00

Enable edge-to-edge display

This commit is contained in:
Isira Seneviratne 2024-09-16 12:45:03 +05:30
parent b0bfd4a807
commit b9fcf0dff8

View File

@ -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 {