fix: hide tab bar icon

This commit is contained in:
Fredrik Burmester
2024-12-02 11:34:57 +01:00
parent 11b880863c
commit 05f7574e60
2 changed files with 2 additions and 2 deletions

View File

@@ -77,12 +77,12 @@ export default function TabLayout() {
name="(custom-links)"
options={{
title: "Custom Links",
// @ts-expect-error
tabBarItemHidden: settings?.showCustomMenuLinks ? false : true,
tabBarIcon:
Platform.OS == "android"
? () => require("@/assets/icons/list.png")
: () => ({ sfSymbol: "list.dash" }),
tabBarButton: (p) =>
settings?.showCustomMenuLinks == true ? undefined : null,
}}
/>
</NativeTabs>

BIN
bun.lockb

Binary file not shown.