Skip to content

Commit d3a7ab7

Browse files
authored
Merge pull request #994 from mikepenz/develop
dev -> main
2 parents e80026a + 2396179 commit d3a7ab7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ It's blazing fast, minimizing the code you need to write, and is easy to extend.
4848

4949
## Latest releases 🛠
5050

51-
- Kotlin | [v5.4.0](https://github.com/mikepenz/FastAdapter/tree/v5.4.0)
51+
- Kotlin | [v5.4.1](https://github.com/mikepenz/FastAdapter/tree/v5.4.1)
5252
- Java && AndroidX | [v3.3.1](https://github.com/mikepenz/FastAdapter/tree/v3.3.1)
5353
- Java && AppCompat | [v3.2.9](https://github.com/mikepenz/FastAdapter/tree/v3.2.9)
5454

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ buildscript {
44

55
ext {
66
release = [
7-
versionName: "5.4.0",
8-
versionCode: 5040
7+
versionName: "5.4.1",
8+
versionCode: 5041
99
]
1010

1111
setup = [

fastadapter-extensions-expandable/src/main/java/com/mikepenz/fastadapter/expandable/ExpandableExtension.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ internal fun <R> IItem<out RecyclerView.ViewHolder>?.ifExpandable(block: (IExpan
3838
}
3939

4040
/** Internal helper function to execute the block if the item is expandable */
41-
internal fun <R> IItem<out RecyclerView.ViewHolder>?.ifExpandableParent(block: (IExpandable<*>, IParentItem<*>) -> R): R? {
42-
return (this as? IExpandable<*>)?.parent?.let {
41+
internal fun <R> IItem<out RecyclerView.ViewHolder>?.ifExpandableParent(block: (ISubItem<*>, IParentItem<*>) -> R): R? {
42+
return (this as? ISubItem<*>)?.parent?.let {
4343
block.invoke(this, it)
4444
}
4545
}

0 commit comments

Comments
 (0)