From d686bd8c7bc6823eb1d6bd6fd5e4c95b0d6f36fc Mon Sep 17 00:00:00 2001 From: Fredrik Burmester Date: Mon, 2 Dec 2024 11:44:52 +0100 Subject: [PATCH] fix: tab bar icon not hiding --- app/(auth)/(tabs)/_layout.tsx | 4 ++-- bun.lockb | Bin 598219 -> 598219 bytes 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/(auth)/(tabs)/_layout.tsx b/app/(auth)/(tabs)/_layout.tsx index f8b8b8fb..f256ab50 100644 --- a/app/(auth)/(tabs)/_layout.tsx +++ b/app/(auth)/(tabs)/_layout.tsx @@ -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, }} /> diff --git a/bun.lockb b/bun.lockb index 51796e43a913648be00ae7cced63c31a7d791dc9..db7d734e0b9e14e811eb5707eb3d83b818ac2801 100755 GIT binary patch delta 45 ycmX?oQ04SNm4+6^7N!>F7M3lnbDy&_#u@0D>lwB$dCm&NY(UJueaUkUbxQ!I+!BNU delta 45 vcmX?oQ04SNm4+6^7N!>F7M3lnbDy&_F@Qn)lIN^I%m&2l+m}4&P`3mCiX#y-