For 10665 - Show the most recent tabs at the top of the tab tray (#10687)

fennec/production
David Walsh 4 years ago committed by GitHub
parent 03284e2da0
commit c0c895af33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -221,6 +221,9 @@ open class HomeActivity : LocaleAwareAppCompatActivity() {
}.asView() }.asView()
TabsTray::class.java.name -> { TabsTray::class.java.name -> {
val layout = LinearLayoutManager(context) val layout = LinearLayoutManager(context)
layout.reverseLayout = true
layout.stackFromEnd = true
val adapter = TabsAdapter { parentView, _ -> val adapter = TabsAdapter { parentView, _ ->
TabTrayViewHolder( TabTrayViewHolder(
LayoutInflater.from(this).inflate( LayoutInflater.from(this).inflate(

Loading…
Cancel
Save