diff --git a/app/src/proprietary/kotlin/com/simplemobiletools/gallery/pro/activities/NewPhotoEditActivity.kt b/app/src/proprietary/kotlin/com/simplemobiletools/gallery/pro/activities/NewPhotoEditActivity.kt index 9a0ba34e7..7787dee28 100644 --- a/app/src/proprietary/kotlin/com/simplemobiletools/gallery/pro/activities/NewPhotoEditActivity.kt +++ b/app/src/proprietary/kotlin/com/simplemobiletools/gallery/pro/activities/NewPhotoEditActivity.kt @@ -20,7 +20,6 @@ import com.simplemobiletools.gallery.pro.extensions.config import com.simplemobiletools.gallery.pro.extensions.fixDateTaken import com.simplemobiletools.gallery.pro.extensions.tryDeleteFileDirItem import com.simplemobiletools.gallery.pro.helpers.getPermissionToRequest -import com.simplemobiletools.gallery.pro.helpers.getPermissionsToRequest import ly.img.android.pesdk.PhotoEditorSettingsList import ly.img.android.pesdk.assets.filter.basic.FilterPackBasic import ly.img.android.pesdk.assets.font.basic.FontPackBasic @@ -63,7 +62,7 @@ class NewPhotoEditActivity : SimpleActivity() { return } - handlePartialMediaPermissions(getPermissionsToRequest()) { + handlePermission(getPermissionToRequest()) { if (it) { initEditActivity() } else { diff --git a/app/src/proprietary/kotlin/com/simplemobiletools/gallery/pro/activities/NewVideoEditActivity.kt b/app/src/proprietary/kotlin/com/simplemobiletools/gallery/pro/activities/NewVideoEditActivity.kt index 66be52e82..22b52ba6d 100644 --- a/app/src/proprietary/kotlin/com/simplemobiletools/gallery/pro/activities/NewVideoEditActivity.kt +++ b/app/src/proprietary/kotlin/com/simplemobiletools/gallery/pro/activities/NewVideoEditActivity.kt @@ -17,7 +17,6 @@ import com.simplemobiletools.gallery.pro.extensions.config import com.simplemobiletools.gallery.pro.extensions.fixDateTaken import com.simplemobiletools.gallery.pro.extensions.tryDeleteFileDirItem import com.simplemobiletools.gallery.pro.helpers.getPermissionToRequest -import com.simplemobiletools.gallery.pro.helpers.getPermissionsToRequest import ly.img.android.pesdk.VideoEditorSettingsList import ly.img.android.pesdk.assets.filter.basic.FilterPackBasic import ly.img.android.pesdk.assets.font.basic.FontPackBasic @@ -58,7 +57,7 @@ class NewVideoEditActivity : SimpleActivity() { return } - handlePartialMediaPermissions(getPermissionsToRequest()) { + handlePermission(getPermissionToRequest()) { if (it) { initEditActivity() } else {