show network instead of server error

This commit is contained in:
Bnyro 2022-11-21 14:59:45 +01:00
parent 8bc3c59686
commit 43efda9e5e

View File

@ -101,7 +101,7 @@ class MainSettings : BasePreferenceFragment() {
val updateInfo = try {
RetrofitInstance.externalApi.getUpdateInfo()
} catch (e: Exception) {
showSnackBar(R.string.server_error)
showSnackBar(R.string.unknown_error)
return@launch
}