Testing new build to find bug on Account loading: 0.74.1

This commit is contained in:
Vitor Pamplona
2023-08-19 11:58:08 -04:00
parent 92be03ca51
commit 8884adcefb
2 changed files with 4 additions and 2 deletions

View File

@@ -13,8 +13,8 @@ android {
applicationId "com.vitorpamplona.amethyst"
minSdk 26
targetSdk 34
versionCode 273
versionName "0.74.0"
versionCode 274
versionName "0.74.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {

View File

@@ -318,10 +318,12 @@ object LocalPreferences {
}?.ifEmpty { listOf("+") } ?: listOf("+")
val defaultZapType = getString(PrefKeys.DEFAULT_ZAPTYPE, "")?.let { serverName ->
println("ZapType: $serverName")
LnZapEvent.ZapType.values().first { it.name == serverName }
} ?: LnZapEvent.ZapType.PUBLIC
val defaultFileServer = getString(PrefKeys.DEFAULT_FILE_SERVER, "")?.let { serverName ->
println("FileServer: $serverName")
ServersAvailable.values().first { it.name == serverName }
} ?: ServersAvailable.NOSTR_BUILD