finished implementing setting category

This commit is contained in:
ide
2026-08-17 22:47:02 +02:00
parent b3dd373403
commit 495b0de7a7
8 changed files with 1712 additions and 1176 deletions
+2 -3
View File
@@ -4,9 +4,7 @@ export struct SItem {
amount: int,
}
export struct SButtonItem{
name: string,
category: string}
export struct SButtonItem { name: string, category: string }
export global State {
in-out property <[SItem]> list: [
@@ -20,6 +18,7 @@ export global State {
callback delete-checked();
callback inc-amount(string);
callback dec-amount(string);
callback set-cat(string, string);
in-out property <string> server-address;
in property <[SButtonItem]> favorites: [
{ name: "mjölk", category: "kyl" },