From b60ee07ea4db7eaec6f85b533a9194e90cd9d207 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 20 Dec 2019 22:25:37 +0100 Subject: [PATCH] adding 5:4 and 4:5 crop aspect ratios --- .../gallery/pro/activities/NewEditActivity.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/NewEditActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/NewEditActivity.kt index 4bacbbeaf..3bf62b5c7 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/NewEditActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/NewEditActivity.kt @@ -189,11 +189,14 @@ class NewEditActivity : SimpleActivity() { add(CropAspectAsset("my_crop_2_1", 2, 1, false)) add(CropAspectAsset("my_crop_19_9", 19, 9, false)) add(CropAspectAsset("my_crop_9_19", 9, 19, false)) + add(CropAspectAsset("my_crop_5_4", 5, 4, false)) + add(CropAspectAsset("my_crop_4_5", 4, 5, false)) } settingsList.getSettingsModel(UiConfigAspect::class.java).aspectList.apply { add(ToggleAspectItem(CropAspectItem("my_crop_2_1"), CropAspectItem("my_crop_1_2"))) add(ToggleAspectItem(CropAspectItem("my_crop_19_9"), CropAspectItem("my_crop_9_19"))) + add(ToggleAspectItem(CropAspectItem("my_crop_5_4"), CropAspectItem("my_crop_4_5"))) } settingsList.getSettingsModel(UiConfigFilter::class.java).setFilterList(