Skip to content

Commit

Permalink
Merge pull request #1014 from mikepenz/develop
Browse files Browse the repository at this point in the history
dev -> main
  • Loading branch information
mikepenz authored Sep 14, 2021
2 parents 4713bbe + bcc57ae commit 8cc3f7e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ It's blazing fast, minimizing the code you need to write, and is easy to extend.

## Latest releases 🛠

- Kotlin | [v5.5.0](https://github.com/mikepenz/FastAdapter/tree/v5.5.0)
- Kotlin | [v5.5.1](https://github.com/mikepenz/FastAdapter/tree/v5.5.1)
- Java && AndroidX | [v3.3.1](https://github.com/mikepenz/FastAdapter/tree/v3.3.1)
- Java && AppCompat | [v3.2.9](https://github.com/mikepenz/FastAdapter/tree/v3.2.9)

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ buildscript {

ext {
release = [
versionName: "5.5.0",
versionCode: 5050
versionName: "5.5.1",
versionCode: 5051
]

setup = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import androidx.recyclerview.widget.ItemTouchHelper
internal fun ISwipeable.getSwipeDirs(dirs: Int): Int {
var directions = dirs
if (!isDirectionSupported(ItemTouchHelper.LEFT)) {
directions = dirs and ItemTouchHelper.LEFT.inv()
directions = directions and ItemTouchHelper.LEFT.inv()
}
if (!isDirectionSupported(ItemTouchHelper.RIGHT)) {
directions = dirs and ItemTouchHelper.RIGHT.inv()
directions = directions and ItemTouchHelper.RIGHT.inv()
}
return directions
}

0 comments on commit 8cc3f7e

Please sign in to comment.