1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-14 10:47:30 +00:00

Fix favorite tab missing for anonymous

This commit is contained in:
Ammar Githam 2021-07-04 19:05:37 +09:00
parent da637bf04e
commit e67e8516cd

View File

@ -19,7 +19,7 @@ fun getLoggedInNavTabs(context: Context): Pair<List<Tab>, List<Tab>> {
fun getAnonNavTabs(context: Context): List<Tab> {
val navRootIds = getArrayResIds(context.resources, R.array.anon_nav_root_ids)
val (tabs, _) = getTabs(context, navRootIds)
val (tabs, _) = getTabs(context, navRootIds, true)
return tabs
}