From 2c37b23e1ee44edfa1e262763d10c9bf177d566b Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 20 Dec 2019 20:40:26 +0100 Subject: [PATCH] adding a 19:9 aspect ratio crop too --- .../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 59854ace0..8cccf6977 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 @@ -177,10 +177,13 @@ class NewEditActivity : SimpleActivity() { settingsList.config.getAssetMap(CropAspectAsset::class.java).apply { add(CropAspectAsset("my_crop_1_2", 1, 2, false)) 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)) } 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"))) } settingsList.getSettingsModel(UiConfigFilter::class.java).setFilterList(