Skip to content

Commit

Permalink
Fixes bug that resets localhost relay settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorpamplona committed Dec 18, 2024
1 parent e002e5c commit 76ce8f2
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,12 @@ object LocalPreferences {
remove(PrefKeys.LATEST_SEARCH_RELAY_LIST)
}

if (settings.localRelayServers.isNotEmpty()) {
putStringSet(PrefKeys.LOCAL_RELAY_SERVERS, settings.localRelayServers)
} else {
remove(PrefKeys.LOCAL_RELAY_SERVERS)
}

if (settings.backupMuteList != null) {
putString(
PrefKeys.LATEST_MUTE_LIST,
Expand Down

0 comments on commit 76ce8f2

Please sign in to comment.