Explorar o código

Merge pull request #234 from GOWxx/feat_set_history_to_zero

feat: support history message count to zero
Yifei Zhang %!s(int64=2) %!d(string=hai) anos
pai
achega
52a217883d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) =>