Skip to content

Commit 4f818ce

Browse files
snowtimeglassBrayanDSO
authored andcommitted
fix: leech toasts have switched with each other
1 parent 96f58db commit 4f818ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AnkiDroid/src/main/java/com/ichi2/anki/Reviewer.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,9 +1093,9 @@ open class Reviewer :
10931093
state.topCard.load(getColUnsafe)
10941094
val leechMessage: String =
10951095
if (state.topCard.queue.buriedOrSuspended()) {
1096-
resources.getString(R.string.leech_notification)
1097-
} else {
10981096
resources.getString(R.string.leech_suspend_notification)
1097+
} else {
1098+
resources.getString(R.string.leech_notification)
10991099
}
11001100
showSnackbar(leechMessage, Snackbar.LENGTH_SHORT)
11011101
}

0 commit comments

Comments
 (0)