Fix last library category not being saved

This commit is contained in:
arkon
2021-05-30 10:29:32 -04:00
parent 034506f56b
commit aa50554f06
2 changed files with 1 additions and 2 deletions

View File

@@ -177,6 +177,7 @@ class LibraryController(
adapter = LibraryAdapter(this)
binding.libraryPager.adapter = adapter
binding.libraryPager.pageSelections()
.drop(1)
.onEach {
preferences.lastUsedCategory().set(it)
activeCategory = it