The inventory stream subscription had no onError handler, so a transient failure at startup (e.g. the encrypted DB not yet ready) went unhandled and left loading=true forever — the spinner that only a restart cleared. Handle stream errors: drop out of loading, surface an error state, and offer a retry that re-opens the stream. Add a _LoadError view (i18n en/ es/ast/pt) and cover both the failure and the retry-recovers paths. |
||
|---|---|---|
| .. | ||
| inventory_cubit.dart | ||
| messages_cubit.dart | ||
| offers_cubit.dart | ||
| quick_add_cubit.dart | ||
| trust_cubit.dart | ||
| variety_detail_cubit.dart | ||