mirror of
https://github.com/andwati/ledga.git
synced 2026-10-18 11:22:54 +00:00
SIM detection: history import now attributes per-message sub_id (sim_id fallback), receiver falls back to the sole active SIM when the OEM omits the subscription extra, accounts re-link by phone number on SIM/slot changes, and READ_PHONE_STATE is requested so lines get carrier names. Accuracy: KCB withdrawals stored the savings-pocket balance as the wallet balance and INFLOWs as OUTFLOW (goal contributions counted withdrawals). Wallet-balance regex now wins and 'from your KCB/M-Shwari' parses as inflow. Combined view sums per-line balances and Fuliza facts instead of mixing lines; insights run account-agnostic for deterministic output. Self-healing on launch: SIM sync, incremental catch-up SMS import (covers receiver kills by OEM battery savers), one-time unassigned-only SIM backfill, and a versioned re-parse that heals stored rows after parser fixes while preserving user-set fields.