From 63843786082c5e7aea2f2c30ddfc77c7a373356c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E4=BD=B3=E5=AE=9D?= Date: Fri, 17 May 2024 10:28:44 +0800 Subject: [PATCH] Update main-stateful.md change a little typo-like place --- docs/LECTURE/4/main-stateful.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/LECTURE/4/main-stateful.md b/docs/LECTURE/4/main-stateful.md index 0cbc58c..3c64eba 100644 --- a/docs/LECTURE/4/main-stateful.md +++ b/docs/LECTURE/4/main-stateful.md @@ -26,7 +26,7 @@ UI = f(states) - 黑夜模式的开关(`bool isDarkModeOn`) - 为 `true` 时开关呈现开启状态,界面呈现黑夜模式 - - 为 `false` 时开关呈现关闭状态,界面 + - 为 `false` 时开关呈现关闭状态,界面黑夜模式关闭 - 用户购物车中的商品(`List itemsInCart`) - 用户添加商品到购物车时给列表中添加项,购物车按照新的列表重新刷新界面 - 游戏中角色的血量(`double hp`)