Commit graph

1 commit

Author SHA1 Message Date
James Rich
881dd31937 fix(widget): drive updates via debounced state observer
- Change SharingStarted.WhileSubscribed → Eagerly so upstream flows
  stay active and state is always fresh in LocalStatsWidgetStateProvider
- Inject LocalStatsWidgetStateProvider into AndroidAppWidgetUpdater and
  observe state with debounce(500).distinctUntilChanged() to call
  updateAll() on any meaningful data change — handles all data sources
  in one place without requiring callers to know about widget updates
- Add missing android:label so widget appears correctly in picker search
  (was showing as 'Fdroid Debug' / 'Google Debug')

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-17 23:01:34 -05:00