1
0
Fork 0

added debug check, using native toast instead of discord toast

This commit is contained in:
Astral✨ 2024-08-17 21:45:02 +02:00 committed by GitHub
parent 98b375a096
commit e9bfda34f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);