Skip to content

Commit

Permalink
feat: make permissions screen status bar transparent
Browse files Browse the repository at this point in the history
  • Loading branch information
BrayanDSO authored and lukstbit committed Nov 15, 2023
1 parent f6743b7 commit 3f67d1d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import com.ichi2.anki.AnkiActivity
import com.ichi2.anki.PermissionSet
import com.ichi2.anki.R
import com.ichi2.annotations.NeedsTest
import com.ichi2.themes.setTransparentStatusBar

/**
* Screen responsible for getting permissions from the user.
Expand All @@ -47,6 +48,7 @@ class PermissionsActivity : AnkiActivity() {
}
super.onCreate(savedInstanceState)
setContentView(R.layout.permissions_activity)
setTransparentStatusBar()

findViewById<AppCompatButton>(R.id.continue_button).setOnClickListener {
finish()
Expand Down

0 comments on commit 3f67d1d

Please sign in to comment.