kernel: Updated APK signature support, removed redundant definitions and adjusted indexing

Co-authored-by: rsuntk <rsuntk@yukiprjkt.my.id>
Co-authored-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com>
This commit is contained in:
ShirkNeko
2025-07-28 17:12:17 +08:00
parent 115206bcc6
commit 6bb66e2819
3 changed files with 18 additions and 18 deletions

View File

@@ -737,9 +737,9 @@ private fun InfoCard(
append(" ")
append(
when (signatureIndex) {
1 -> "(${stringResource(R.string.default_signature)})"
2 -> "(${stringResource(R.string.dynamic_signature)})"
else -> if (signatureIndex >= 0) "(${
0 -> "(${stringResource(R.string.default_signature)})"
1 -> "(${stringResource(R.string.dynamic_signature)})"
else -> if (signatureIndex >= 2) "(${
stringResource(
R.string.signature_index,
signatureIndex