Skip to content
This repository was archived by the owner on Feb 17, 2020. It is now read-only.

Commit 64bdd90

Browse files
committed
simply a statement
1 parent 995806f commit 64bdd90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/net/squanchy/search/view/SearchAdapter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,6 @@ internal class SearchAdapter(activity: AppCompatActivity) : RecyclerView.Adapter
122122
// As we cannot guarantee that the speaker ids are going to be unique compared
123123
// to the ones for the events, we are making them negatives and offsetting them by 4,
124124
// to be sure they do not overlap the ids for the two headers and the logo
125-
private val speakerIdOffsetter: (Long) -> Long = { (it * -1) - 4 }
125+
private val speakerIdOffsetter: (Long) -> Long = { -it - 4 }
126126
}
127127
}

0 commit comments

Comments
 (0)