mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] TabViewHolder: Remove unused parameter
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
caae5e0bfb
commit
9a8fadfdbe
@ -83,8 +83,7 @@ class SessionControlAdapter(
|
|||||||
override fun onBindViewHolder(holder: RecyclerView.ViewHolder, position: Int) {
|
override fun onBindViewHolder(holder: RecyclerView.ViewHolder, position: Int) {
|
||||||
when (holder) {
|
when (holder) {
|
||||||
is TabViewHolder -> holder.bindSession(
|
is TabViewHolder -> holder.bindSession(
|
||||||
(items[position] as AdapterItem.TabItem).tab,
|
(items[position] as AdapterItem.TabItem).tab
|
||||||
position
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -85,7 +85,7 @@ class TabViewHolder(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fun bindSession(tab: Tab, position: Int) {
|
fun bindSession(tab: Tab) {
|
||||||
this.tab = tab
|
this.tab = tab
|
||||||
updateText(tab)
|
updateText(tab)
|
||||||
updateSelected(tab.selected)
|
updateSelected(tab.selected)
|
||||||
|
Loading…
Reference in New Issue
Block a user