瀏覽代碼

Merge pull request #234 from GOWxx/feat_set_history_to_zero

feat: support history message count to zero
Yifei Zhang 1 年之前
父節點
當前提交
52a217883d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/components/settings.tsx

+ 1 - 1
app/components/settings.tsx

@@ -375,7 +375,7 @@ export function Settings(props: { closeSettings: () => void }) {
               type="range"
               title={config.historyMessageCount.toString()}
               value={config.historyMessageCount}
-              min="2"
+              min="0"
               max="25"
               step="2"
               onChange={(e) =>