feat: reformat some pages

This commit is contained in:
2026-10-26 23:15:05 +01:00
parent 65e5e286b0
commit 08f4847800
17 changed files with 812 additions and 198 deletions
+10
View File
@@ -36,6 +36,16 @@ class InventoryViewModel extends ChangeNotifier {
);
}
/// Starts watching again after a load error.
void retry() {
unawaited(_subscription?.cancel());
_subscription = null;
_hasLoaded = false;
_loadError = null;
notifyListeners();
ensureLoaded();
}
void _onProducts(List<Product> products) {
_products = products;
_hasLoaded = true;