From 6111b4be72119e8cf82184c82d1504da56730ec7 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 19 Apr 2017 22:30:22 +0200 Subject: [PATCH] lets show CropImageView guidelines on touch --- .../com/simplemobiletools/gallery/activities/EditActivity.kt | 1 - .../simplemobiletools/gallery/activities/SetWallpaperActivity.kt | 1 - 2 files changed, 2 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt index 5eb551382..342699774 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt @@ -46,7 +46,6 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener } crop_image_view.apply { - guidelines = CropImageView.Guidelines.OFF setOnCropImageCompleteListener(this@EditActivity) setImageUriAsync(intent.data) } diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SetWallpaperActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SetWallpaperActivity.kt index ac06244b5..1dd599eff 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SetWallpaperActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SetWallpaperActivity.kt @@ -46,7 +46,6 @@ class SetWallpaperActivity : SimpleActivity(), CropImageView.OnCropImageComplete wallpaperManager = WallpaperManager.getInstance(applicationContext) crop_image_view.apply { - guidelines = CropImageView.Guidelines.OFF setOnCropImageCompleteListener(this@SetWallpaperActivity) setImageUriAsync(uri) }