mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-16 12:00:35 +01:00
Change required permission in ViewPagerActivity
This commit is contained in:
parent
68e1c24d90
commit
1b5f444f9d
@ -110,7 +110,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
||||
|
||||
override fun onResume() {
|
||||
super.onResume()
|
||||
if (!hasPermission(getRequiredPermission())) {
|
||||
if (!hasPermission(getPermissionToRequest())) {
|
||||
finish()
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user