Save the correct field to the server preferences

This commit is contained in:
tzugen 2021-06-25 17:47:11 +02:00
parent 2da4f79098
commit e3e8d36f5c
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930
1 changed files with 1 additions and 1 deletions

View File

@ -708,7 +708,7 @@ open class RESTMusicService(
// By registering a callback we ensure this info is saved in the database as well
subsonicAPIClient.onProtocolChange = {
Timber.i("Server minimum API version set to %s", it)
activeServerProvider.setMinimumApiVersion(it.toString())
activeServerProvider.setMinimumApiVersion(it.restApiVersion)
}
}