ponshu-room-lite/lib/screens
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
..
placeholders feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
camera_screen.dart fix: Add missing badge check after AI sake registration 2026-01-31 08:22:23 +09:00
dev_menu_screen.dart feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
guide_screen.dart feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
home_screen.dart feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
main_screen.dart feat: Redesign Lite version Pro-lock UX with crown badge and dialog 2026-01-31 08:00:15 +09:00
menu_creation_screen.dart feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
menu_pricing_screen.dart feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
menu_settings_screen.dart feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
pdf_preview_screen.dart debug: Add debug logging for Google Drive upload issues 2026-01-31 01:00:37 +09:00
sake_detail_screen.dart feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
scan_screen.dart feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
shop_settings_screen.dart feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
soul_screen.dart feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
splash_screen.dart feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00