From dcbb4eabb50e6a338b6e63fd9dcadc7539bf134e Mon Sep 17 00:00:00 2001 From: vvb2060 Date: Tue, 25 Jan 2022 10:29:54 +0800 Subject: [PATCH] Fix string --- .../com/topjohnwu/magisk/events/dialog/RestoreAppDialog.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/topjohnwu/magisk/events/dialog/RestoreAppDialog.kt b/app/src/main/java/com/topjohnwu/magisk/events/dialog/RestoreAppDialog.kt index f95df9b52..eacc8ea72 100644 --- a/app/src/main/java/com/topjohnwu/magisk/events/dialog/RestoreAppDialog.kt +++ b/app/src/main/java/com/topjohnwu/magisk/events/dialog/RestoreAppDialog.kt @@ -10,11 +10,11 @@ class RestoreAppDialog : DialogEvent() { setTitle(R.string.settings_restore_app_title) setMessage(R.string.restore_app_confirmation) setButton(MagiskDialog.ButtonType.POSITIVE) { - text = R.string.yes + text = android.R.string.ok onClick { HideAPK.restore(dialog.ownerActivity!!) } } setButton(MagiskDialog.ButtonType.NEGATIVE) { - text = R.string.no + text = android.R.string.cancel } setCancelable(true) }