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:
parent
b0bfd4a807
commit
b9fcf0dff8
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user