mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 16:00:31 +05:30
show network instead of server error
This commit is contained in:
parent
8bc3c59686
commit
43efda9e5e
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user