Added creating the client again after setting the minimum API version to NULL
This commit is contained in:
parent
4e6df12f4e
commit
eb3ce0db8a
|
@ -88,6 +88,12 @@ internal class EditServerActivity : AppCompatActivity() {
|
||||||
if (currentServerSetting?.minimumApiVersion != null) {
|
if (currentServerSetting?.minimumApiVersion != null) {
|
||||||
currentServerSetting!!.minimumApiVersion = null
|
currentServerSetting!!.minimumApiVersion = null
|
||||||
serverSettingsModel.updateItem(currentServerSetting)
|
serverSettingsModel.updateItem(currentServerSetting)
|
||||||
|
if (
|
||||||
|
activeServerProvider.getActiveServer().id ==
|
||||||
|
currentServerSetting!!.id
|
||||||
|
) {
|
||||||
|
MusicServiceFactory.resetMusicService()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue