update tab nhật ký (Lọc, Ngôn ngữ,...)

This commit is contained in:
2025-12-07 20:23:10 +07:00
parent 0672f8adf9
commit e405a0bcfa
17 changed files with 851 additions and 332 deletions

View File

@@ -12,7 +12,7 @@ export default function TabLayout() {
const segments = useSegments() as string[];
const prev = useRef<string | null>(null);
const currentSegment = segments[1] ?? segments[segments.length - 1] ?? null;
const { t, locale } = useI18n();
const { t } = useI18n();
useEffect(() => {
if (prev.current !== currentSegment) {
// console.log("Tab changed ->", { from: prev.current, to: currentSegment });
@@ -60,7 +60,11 @@ export default function TabLayout() {
options={{
title: t("navigation.manager"),
tabBarIcon: ({ color }) => (
<IconSymbol size={28} name="square.stack.3d.up.fill" color={color} />
<IconSymbol
size={28}
name="square.stack.3d.up.fill"
color={color}
/>
),
}}
/>