mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-12 01:50:51 +01:00
fix #1221, allow batch rotating only images
This commit is contained in:
parent
301ac6dfb0
commit
9f53213c48
@ -278,7 +278,7 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: MutableList<Thumbnai
|
|||||||
private fun rotateSelection(degrees: Int) {
|
private fun rotateSelection(degrees: Int) {
|
||||||
activity.toast(R.string.saving)
|
activity.toast(R.string.saving)
|
||||||
Thread {
|
Thread {
|
||||||
val paths = getSelectedPaths()
|
val paths = getSelectedPaths().filter { it.isImageFast() }
|
||||||
var fileCnt = paths.size
|
var fileCnt = paths.size
|
||||||
paths.forEach {
|
paths.forEach {
|
||||||
activity.saveRotatedImageToFile(it, it, degrees) {
|
activity.saveRotatedImageToFile(it, it, degrees) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user