Files
flutter/lib/widgets/core
John Weidner 627b8b9fd8 fix: unit conversion on enable, dashboard refresh, and permission check
- Pass isMetric to enableSync() so the initial sync from the settings
  toggle converts kg to lb when the user's profile is set to lb
- Refresh BodyWeightProvider after sync from settings tile so the
  dashboard and weight screen update immediately
- Fix DashboardWeightWidget to compute sensibleRange() inside the
  Consumer builder so it rebuilds when weight data changes
- Add permission check in syncOnAppOpen() for app restart scenarios
- Add unit tests for weight conversion logic and HealthSyncState

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 16:32:53 -05:00
..
2024-06-20 15:44:35 +03:00
2025-09-06 22:08:35 +02:00
2025-03-18 17:28:19 +01:00