mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-02 03:40:16 +00:00
For #538 - Reverse tabs in list
This commit is contained in:
parent
659386bd5e
commit
2a19917619
@ -22,7 +22,7 @@ private fun SessionControlState.toAdapterList(): List<AdapterItem> {
|
||||
|
||||
if (tabs.isNotEmpty()) {
|
||||
items.add(AdapterItem.TabHeader)
|
||||
tabs.map(AdapterItem::TabItem).forEach { items.add(it) }
|
||||
tabs.reversed().map(AdapterItem::TabItem).forEach { items.add(it) }
|
||||
items.add(if (mode == Mode.Private) AdapterItem.DeleteTabs else AdapterItem.ArchiveTabs)
|
||||
} else {
|
||||
if (mode == Mode.Private) {
|
||||
|
Loading…
Reference in New Issue
Block a user