diff --git a/AnkiDroid/src/main/java/com/ichi2/anki/DeckPicker.kt b/AnkiDroid/src/main/java/com/ichi2/anki/DeckPicker.kt index fe6644c3c1ff..239cbfbccf5b 100644 --- a/AnkiDroid/src/main/java/com/ichi2/anki/DeckPicker.kt +++ b/AnkiDroid/src/main/java/com/ichi2/anki/DeckPicker.kt @@ -2028,6 +2028,11 @@ open class DeckPicker : ) fun openAnkiWebSharedDecks() { + if (!NetworkUtils.isOnline) { + showSnackbar(R.string.check_network) + Timber.d("DeckPicker:: No network, Shared deck download failed") + return + } val intent = Intent(this, SharedDecksActivity::class.java) startActivity(intent) }