diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SetWallpaperActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SetWallpaperActivity.kt index 248fcf6ad..018c7d8fd 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SetWallpaperActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SetWallpaperActivity.kt @@ -60,6 +60,7 @@ class SetWallpaperActivity : SimpleActivity(), CropImageView.OnCropImageComplete override fun onOptionsItemSelected(item: MenuItem): Boolean { when (item.itemId) { R.id.save -> confirmWallpaper() + R.id.allow_changing_aspect_ratio -> crop_image_view.clearAspectRatio() else -> return super.onOptionsItemSelected(item) } return true diff --git a/app/src/main/res/menu/menu_set_wallpaper.xml b/app/src/main/res/menu/menu_set_wallpaper.xml index 094f0f745..99353cb70 100644 --- a/app/src/main/res/menu/menu_set_wallpaper.xml +++ b/app/src/main/res/menu/menu_set_wallpaper.xml @@ -6,4 +6,8 @@ android:icon="@drawable/ic_check_vector" android:title="@string/save" app:showAsAction="ifRoom" /> +