Skip to content

Commit

Permalink
For mozilla-mobile#15480 - Update the UI when a collection is renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
kleintom authored and ekager committed Oct 20, 2020
1 parent edd613a commit 57ba920
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ class HomeFragment : Fragment() {
}

override fun onCollectionRenamed(tabCollection: TabCollection, title: String) {
lifecycleScope.launch(Main) {
view?.sessionControlRecyclerView?.adapter?.notifyDataSetChanged()
}
showRenamedSnackbar()
}
}
Expand Down

0 comments on commit 57ba920

Please sign in to comment.