mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Fix kotlin compiler warnings.
This commit is contained in:
committed by
Alex Hart
parent
8984b763fb
commit
3761859681
@@ -14,7 +14,7 @@ internal class MediaGridDividerDecoration(
|
||||
override fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: RecyclerView.State) {
|
||||
val holder = parent.getChildViewHolder(view)
|
||||
|
||||
val adapterPosition = holder.adapterPosition
|
||||
val adapterPosition = holder.bindingAdapterPosition
|
||||
val section = adapter.getAdapterPositionSection(adapterPosition)
|
||||
val itemSectionOffset = adapter.getItemSectionOffset(section, adapterPosition)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user