mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
fix #1221, allow batch rotating only images
This commit is contained in:
parent
301ac6dfb0
commit
9f53213c48
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue