mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 14:47:29 +00:00
Fix favorite tab missing for anonymous
This commit is contained in:
parent
da637bf04e
commit
e67e8516cd
@ -19,7 +19,7 @@ fun getLoggedInNavTabs(context: Context): Pair<List<Tab>, List<Tab>> {
|
|||||||
|
|
||||||
fun getAnonNavTabs(context: Context): List<Tab> {
|
fun getAnonNavTabs(context: Context): List<Tab> {
|
||||||
val navRootIds = getArrayResIds(context.resources, R.array.anon_nav_root_ids)
|
val navRootIds = getArrayResIds(context.resources, R.array.anon_nav_root_ids)
|
||||||
val (tabs, _) = getTabs(context, navRootIds)
|
val (tabs, _) = getTabs(context, navRootIds, true)
|
||||||
return tabs
|
return tabs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user