mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02:00
minor code formatting
This commit is contained in:
@ -20,7 +20,6 @@ import androidx.appcompat.widget.SearchView
|
|||||||
import androidx.core.view.MenuItemCompat
|
import androidx.core.view.MenuItemCompat
|
||||||
import androidx.viewpager.widget.ViewPager
|
import androidx.viewpager.widget.ViewPager
|
||||||
import com.simplemobiletools.commons.dialogs.ConfirmationAdvancedDialog
|
import com.simplemobiletools.commons.dialogs.ConfirmationAdvancedDialog
|
||||||
import com.simplemobiletools.commons.dialogs.ConfirmationDialog
|
|
||||||
import com.simplemobiletools.commons.dialogs.RadioGroupDialog
|
import com.simplemobiletools.commons.dialogs.RadioGroupDialog
|
||||||
import com.simplemobiletools.commons.extensions.*
|
import com.simplemobiletools.commons.extensions.*
|
||||||
import com.simplemobiletools.commons.helpers.*
|
import com.simplemobiletools.commons.helpers.*
|
||||||
@ -315,7 +314,7 @@ class MainActivity : SimpleActivity() {
|
|||||||
} else {
|
} else {
|
||||||
if (isRPlus()) {
|
if (isRPlus()) {
|
||||||
ConfirmationAdvancedDialog(this, "", R.string.access_storage_prompt, R.string.ok, 0) { success ->
|
ConfirmationAdvancedDialog(this, "", R.string.access_storage_prompt, R.string.ok, 0) { success ->
|
||||||
if (success ) {
|
if (success) {
|
||||||
isAskingPermissions = true
|
isAskingPermissions = true
|
||||||
actionOnPermission = callback
|
actionOnPermission = callback
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user