From 0dff98052a0000dfbcb8341f3dfe881661b4112d Mon Sep 17 00:00:00 2001 From: David Allison <62114487+david-allison@users.noreply.github.com> Date: Fri, 19 Jan 2024 21:01:42 +0000 Subject: [PATCH] chore: early return in `filterUrl` Non-functional, caught after code was merged PR 15061 --- .../src/main/java/com/ichi2/anki/AbstractFlashcardViewer.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/AnkiDroid/src/main/java/com/ichi2/anki/AbstractFlashcardViewer.kt b/AnkiDroid/src/main/java/com/ichi2/anki/AbstractFlashcardViewer.kt index 3c0a41315539..8572342b17c2 100644 --- a/AnkiDroid/src/main/java/com/ichi2/anki/AbstractFlashcardViewer.kt +++ b/AnkiDroid/src/main/java/com/ichi2/anki/AbstractFlashcardViewer.kt @@ -2289,6 +2289,7 @@ abstract class AbstractFlashcardViewer : } if (url.startsWith("state-mutation-error:")) { onStateMutationError() + return true } if (url.startsWith("tts-voices:")) { showDialogFragment(TtsVoicesDialogFragment())