ponshu-room-lite/lib
Ponshu Developer 5410c78c6c fix: Add missing badge check after AI sake registration
## Bug Fix
- Badge "初めての一歩" was not unlocking when adding first sake item
- Root cause: GamificationService.checkAndUnlockBadges() was never called in camera_screen.dart

## Changes
- Import gamification_service.dart
- Call checkAndUnlockBadges(ref) after adding sake item to Hive
- Display newly unlocked badges in success SnackBar
- Extend SnackBar duration when badges are unlocked (4s -> 6s)

## User Impact
- Users will now see badge unlock notifications: "バッジ獲得: 初めての一歩 🍶"
- All badge unlock conditions (first_step, regional, collector, flavor) now work correctly

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-31 08:22:23 +09:00
..
l10n feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
models feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
providers feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
screens fix: Add missing badge check after AI sake registration 2026-01-31 08:22:23 +09:00
services feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
theme feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
utils feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
widgets feat: Add Pro version lock mechanism for Lite version preparation 2026-01-30 17:34:39 +09:00
main.dart debug: Add debug logging for Google Drive upload issues 2026-01-31 01:00:37 +09:00
secrets.dart feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
secrets.local.dart.example feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00