Adding a localized message for a failed swipe

This commit is contained in:
ShirkNeko
2025-04-27 20:27:29 +08:00
parent 79e68f473f
commit e414b4de92
3 changed files with 3 additions and 1 deletions

View File

@@ -254,7 +254,7 @@ class HorizonKernelWorker(
}
if (!File("${context.filesDir.absolutePath}/done").exists()) {
throw IOException("Flash failed")
throw IOException(context.getString(R.string.flash_failed_message))
}
}