Skip to content

Commit

Permalink
android: improve delay (#1866)
Browse files Browse the repository at this point in the history
* improve delay

* bump version
  • Loading branch information
zaneschepke authored Jan 8, 2025
1 parent fb52693 commit 65c77b8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
3 changes: 3 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/11800.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
What's new:
- Bug fixes
- UI update
4 changes: 2 additions & 2 deletions nym-vpn-android/buildSrc/src/main/kotlin/Constants.kt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import org.gradle.api.JavaVersion

object Constants {
const val VERSION_NAME = "v1.1.7"
const val VERSION_CODE = 11700
const val VERSION_NAME = "v1.1.8"
const val VERSION_CODE = 11800
const val TARGET_SDK = 35
const val COMPILE_SDK = 35
const val MIN_SDK = 24
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,13 @@ class NymBackend private constructor(val context: Context) : Backend, TunnelStat
return withContext(ioDispatcher) {
waitForInit()
// TODO temporary until bug is fixed
delay(2000L)
isAccountMnemonicStored()
delay(100L)
var stored = isAccountMnemonicStored()
if (!stored) {
delay(200L)
stored = isAccountMnemonicStored()
}
stored
}
}

Expand Down

0 comments on commit 65c77b8

Please sign in to comment.