Change required permission in ViewPagerActivity

This commit is contained in:
Ensar Sarajčić 2023-08-30 09:11:37 +02:00
parent 68e1c24d90
commit 1b5f444f9d
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
override fun onResume() {
super.onResume()
if (!hasPermission(getRequiredPermission())) {
if (!hasPermission(getPermissionToRequest())) {
finish()
return
}