pull/1185/merge
deniscerri 3 months ago
parent 2511147b9f
commit 48f9637a7e
No known key found for this signature in database
GPG Key ID: 95C43D517D830350

@ -104,7 +104,9 @@ object UpdateSettingsModule : SettingModule {
updateUtil.tryGetNewVersion()
}
if (res.isFailure) {
Snackbar.make(host.hostView!!, res.exceptionOrNull()?.message ?: context.getString(R.string.network_error), Snackbar.LENGTH_LONG).show()
host.hostView?.apply {
Snackbar.make(this, res.exceptionOrNull()?.message ?: context.getString(R.string.network_error), Snackbar.LENGTH_LONG).show()
}
}else{
if (preferences.getBoolean("automatic_backup", false)) {
withContext(Dispatchers.IO){

Loading…
Cancel
Save