Skip to content

Commit

Permalink
Enable edge-to-edge display
Browse files Browse the repository at this point in the history
  • Loading branch information
Isira-Seneviratne committed Sep 16, 2024
1 parent b0bfd4a commit b9fcf0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/org/schabi/newpipe/about/AboutActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 {
Expand Down

0 comments on commit b9fcf0d

Please sign in to comment.