🐛 Fix bugs

This commit is contained in:
2025-09-24 21:03:53 +08:00
parent bf4892b34d
commit b4996d069f
2 changed files with 5 additions and 2 deletions

View File

@@ -130,7 +130,7 @@ class MessageItem extends HookConsumerWidget {
useEffect(() {
if (flashing) {
if (flashTimer.value != null) return null;
flashTimer.value?.cancel();
isFlashing.value = true;
flashTimer.value = Timer.periodic(
const Duration(milliseconds: kFlashDuration),