Update: 2026-07-02 15:35:12
This commit is contained in:
@@ -222,6 +222,15 @@ class _HomeAppBar extends StatelessWidget implements PreferredSizeWidget {
|
||||
),
|
||||
),
|
||||
actions: [
|
||||
// ── Gamification Streak Badge ────────
|
||||
GetBuilder<HomeCaptainController>(
|
||||
builder: (c) => _PillBadge(
|
||||
icon: Icons.local_fire_department_rounded,
|
||||
label: c.isZeroCommissionActive ? 'Free!' : '${c.streakCount}/5',
|
||||
color: c.isZeroCommissionActive ? _Token.success : Colors.orange,
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 6),
|
||||
// ── Refuse Counter ───────────────────
|
||||
GetBuilder<HomeCaptainController>(
|
||||
builder: (c) => _PillBadge(
|
||||
@@ -310,7 +319,7 @@ class _AppBarControls extends StatelessWidget {
|
||||
// Heatmap
|
||||
GetBuilder<HomeCaptainController>(
|
||||
builder: (c) => _IconBtn(
|
||||
icon: Icons.local_fire_department_rounded,
|
||||
icon: Icons.layers_rounded,
|
||||
color:
|
||||
c.isHeatmapVisible ? Colors.orange : Colors.grey.shade600,
|
||||
tooltip: 'Heatmap'.tr,
|
||||
|
||||
Reference in New Issue
Block a user