mirror of
https://github.com/Flowseal/tg-ws-proxy.git
synced 2026-06-15 03:01:44 +03:00
fix(android): avoid cryptography dependency and preserve version on update errors
This commit is contained in:
@@ -170,7 +170,7 @@ class MainActivity : AppCompatActivity() {
|
||||
}
|
||||
}.getOrElse { exc ->
|
||||
ProxyUpdateStatus(
|
||||
currentVersion = "unknown",
|
||||
currentVersion = currentAppVersionName(),
|
||||
error = exc.message ?: exc.javaClass.simpleName,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user