Skip to content

Commit

Permalink
fix: allow jpegQuality == 0 #310
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Oct 12, 2024
1 parent f8ad0fc commit 301a34d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/settings/Settings.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
type: 'rightIcon',
key: 'pdf_export_directory',
title: lc('export_folder'),
defaultValue: DEFAULT_EXPORT_DIRECTORY,
defaultValue: DEFAULT_EXPORT_DIRECTORY || lc('please_choose_export_folder'),
description: (item) => ApplicationSettings.getString(item.key, item.defaultValue),
rightBtnIcon: 'mdi-restore',
onTap: async (item) => {
Expand Down Expand Up @@ -374,7 +374,7 @@
storeKey: 'default_export_options',
storeDefault: DEFAULT_PDF_OPTIONS_STRING,
key: 'jpegQuality',
min: 1,
min: 0,
max: 100,
step: 1,
formatter: (value) => value.toFixed(),
Expand Down

0 comments on commit 301a34d

Please sign in to comment.