-
+
Read Only
-
-
- {link.deck ? link.deck.name : link.quizSet?.name}
-
-
- From class: {link.deck ? link.deck.class.name : link.quizSet?.class.name}
-
-
-
- {type === "flashcards" && link.deck && (
-
- )}
-
- {type === "quizzes" && link.quizSet && (
-
- )}
+
diff --git a/src/components/flashcards/FlashcardViewer.tsx b/src/components/flashcards/FlashcardViewer.tsx
index 5cea588..7667cd7 100644
--- a/src/components/flashcards/FlashcardViewer.tsx
+++ b/src/components/flashcards/FlashcardViewer.tsx
@@ -146,7 +146,7 @@ export function FlashcardViewer({ cards, deckId, isShared = false, initialProgre
// Touch handlers for swipe
function handleTouchStart(e: React.TouchEvent) {
- if (!isFlipped) return;
+ if (!hasFlippedOnce) return;
dragRef.current = {
startX: e.touches[0].clientX,
currentX: e.touches[0].clientX,
@@ -350,7 +350,7 @@ export function FlashcardViewer({ cards, deckId, isShared = false, initialProgre