From 1a0f4b17fc77c4b330c43185a15230e67116a3aa Mon Sep 17 00:00:00 2001 From: pacien Date: Sun, 5 Jan 2020 10:43:30 +0100 Subject: compiler: rename max thumbnail size option --- compiler/src/Config.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/src/Config.hs') diff --git a/compiler/src/Config.hs b/compiler/src/Config.hs index ca3259f..9bb2860 100644 --- a/compiler/src/Config.hs +++ b/compiler/src/Config.hs @@ -44,7 +44,7 @@ data CompilerConfig = CompilerConfig { galleryName :: String , ignoreFiles :: String , implicitDirectoryTag :: Bool - , thumbnailResolution :: Resolution + , thumbnailMaxResolution :: Resolution , pictureMaxResolution :: Maybe Resolution } deriving (Generic, Show) @@ -53,7 +53,7 @@ instance FromJSON CompilerConfig where <$> v .:? "galleryName" .!= "Gallery" <*> v .:? "ignoreFiles" .!= ".^" <*> v .:? "implicitDirectoryTag" .!= False - <*> v .:? "thumbnailResolution" .!= (Resolution 400 400) + <*> v .:? "thumbnailMaxResolution" .!= (Resolution 400 400) <*> v .:? "pictureMaxResolution" -- cgit v1.2.3