Fixed Server Id to be the same as the Preference was

This commit is contained in:
Nite 2020-09-23 16:26:54 +02:00
parent 55105e52b6
commit b7c21e4aac
No known key found for this signature in database
GPG Key ID: 1D1AD59B1C6386C1
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ class ServerSettingsModel(
if (url.isNullOrEmpty() || userName.isNullOrEmpty()) return null
return ServerSetting(
serverId,
preferenceId,
serverId,
settings.getString(PREFERENCES_KEY_SERVER_NAME + preferenceId, "")!!,
url,