added debug check, using native toast instead of discord toast
This commit is contained in:
parent
98b375a096
commit
e9bfda34f3
1 changed files with 4 additions and 2 deletions
|
@ -55,8 +55,10 @@ class MainActivity : Activity() {
|
|||
}
|
||||
},
|
||||
{ error ->
|
||||
e("Network error during update check", error)
|
||||
showDiscordToast("Failed to check for updates", "ERROR")
|
||||
if (BuildConfig.DEBUG) {
|
||||
e("Network error during update check", error)
|
||||
}
|
||||
Toast.makeText(this, "Failed to check for updates", Toast.LENGTH_SHORT).show()
|
||||
}
|
||||
)
|
||||
stringRequest.setShouldCache(false);
|
||||
|
|
Loading…
Reference in a new issue