fix(android): avoid cryptography dependency and preserve version on update errors

This commit is contained in:
Dark_Avery
2026-03-30 17:03:26 +03:00
parent e511ff597b
commit 509f50fcae
2 changed files with 15 additions and 23 deletions

View File

@@ -170,7 +170,7 @@ class MainActivity : AppCompatActivity() {
}
}.getOrElse { exc ->
ProxyUpdateStatus(
currentVersion = "unknown",
currentVersion = currentAppVersionName(),
error = exc.message ?: exc.javaClass.simpleName,
)
}