Merge pull request #234 from GOWxx/feat_set_history_to_zero

feat: support history message count to zero
This commit is contained in:
Yifei Zhang 2023-03-31 00:56:57 +08:00 committed by GitHub
commit 52a217883d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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