diff --git a/app/src/main/java/com/nin0dev/vendroid/MainActivity.kt b/app/src/main/java/com/nin0dev/vendroid/MainActivity.kt index 7dc7277..7ef9160 100644 --- a/app/src/main/java/com/nin0dev/vendroid/MainActivity.kt +++ b/app/src/main/java/com/nin0dev/vendroid/MainActivity.kt @@ -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);