use the new string at the media management dialog

This commit is contained in:
tibbi 2022-06-24 09:28:36 +02:00
parent 56a0d5f332
commit 718836459b
1 changed files with 2 additions and 1 deletions

View File

@ -159,7 +159,8 @@ fun BaseSimpleActivity.handleMediaManagementPrompt(callback: () -> Unit) {
} }
} }
} else if (isSPlus() && !MediaStore.canManageMedia(this) && !isExternalStorageManager()) { } else if (isSPlus() && !MediaStore.canManageMedia(this) && !isExternalStorageManager()) {
ConfirmationDialog(this, "", R.string.media_management_prompt, R.string.ok, 0) { val message = "${getString(R.string.media_management_prompt)}\n\n${getString(R.string.media_management_note)}"
ConfirmationDialog(this, message, 0, R.string.ok, 0) {
launchMediaManagementIntent(callback) launchMediaManagementIntent(callback)
} }
} else { } else {