From 040d6357c9ff6e6e7806a1d74e2625f6536d617c Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 13 Jan 2019 22:12:16 +0100 Subject: [PATCH] add batch image rotation at the thumbnails screen --- .../gallery/pro/adapters/MediaAdapter.kt | 14 ++++++++++++++ app/src/main/res/menu/cab_media.xml | 17 +++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt index de3601c4c..571bfb9bf 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt @@ -137,6 +137,9 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: MutableList toggleFavorites(false) R.id.cab_restore_recycle_bin_files -> restoreFiles() R.id.cab_share -> shareMedia() + R.id.cab_rotate_right -> rotateSelection(90) + R.id.cab_rotate_left -> rotateSelection(270) + R.id.cab_rotate_one_eighty -> rotateSelection(180) R.id.cab_copy_to -> copyMoveTo(true) R.id.cab_move_to -> moveFilesTo() R.id.cab_select_all -> selectAll() @@ -273,6 +276,17 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: MutableList + + + + + + +