From e40963a6b879872c5bfbeb0667fd6fa1136063c9 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 16 Dec 2018 21:18:02 +0100 Subject: [PATCH] crop thumbnails at widget config screen only if selected so --- .../gallery/pro/activities/WidgetConfigureActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/WidgetConfigureActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/WidgetConfigureActivity.kt index e7dcfe976..33f193181 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/WidgetConfigureActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/WidgetConfigureActivity.kt @@ -169,7 +169,7 @@ class WidgetConfigureActivity : SimpleActivity() { val path = directoryDB.getDirectoryThumbnail(folderPath) if (path != null) { runOnUiThread { - loadJpg(path, config_image, true) + loadJpg(path, config_image, config.cropThumbnails) } } }.start()