fix: update history preview line limit to null and reset button action in ClipboardHistorySettings component
This commit is contained in:
parent
c00ff2b33f
commit
c7219cf014
@ -429,9 +429,8 @@ export default function ClipboardHistorySettings() {
|
||||
<Button
|
||||
variant="secondary"
|
||||
size="sm"
|
||||
disabled={historyPreviewLineLimit === 5}
|
||||
onClick={() => {
|
||||
setHistoryPreviewLineLimit(5)
|
||||
setHistoryPreviewLineLimit(0)
|
||||
}}
|
||||
className="text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-1"
|
||||
>
|
||||
|
@ -294,7 +294,7 @@ const initialState: SettingsStoreState & Settings = {
|
||||
isFirstRunAfterUpdate: false,
|
||||
clipTextMinLength: 0,
|
||||
clipTextMaxLength: 5000,
|
||||
historyPreviewLineLimit: 5,
|
||||
historyPreviewLineLimit: null,
|
||||
isImageCaptureDisabled: false,
|
||||
isMenuItemCopyOnlyEnabled: false,
|
||||
isNoteIconsEnabled: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user