Fix string

This commit is contained in:
vvb2060 2022-01-25 10:29:54 +08:00 committed by John Wu
parent 068cedaa84
commit dcbb4eabb5

View File

@ -10,11 +10,11 @@ class RestoreAppDialog : DialogEvent() {
setTitle(R.string.settings_restore_app_title) setTitle(R.string.settings_restore_app_title)
setMessage(R.string.restore_app_confirmation) setMessage(R.string.restore_app_confirmation)
setButton(MagiskDialog.ButtonType.POSITIVE) { setButton(MagiskDialog.ButtonType.POSITIVE) {
text = R.string.yes text = android.R.string.ok
onClick { HideAPK.restore(dialog.ownerActivity!!) } onClick { HideAPK.restore(dialog.ownerActivity!!) }
} }
setButton(MagiskDialog.ButtonType.NEGATIVE) { setButton(MagiskDialog.ButtonType.NEGATIVE) {
text = R.string.no text = android.R.string.cancel
} }
setCancelable(true) setCancelable(true)
} }