mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-15 15:48:05 +00:00
wip
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import * as NavigationBar from "expo-navigation-bar";
|
||||
import React, { useEffect } from "react";
|
||||
import { Platform } from "react-native";
|
||||
import { Platform, View } from "react-native";
|
||||
|
||||
import { withLayoutContext } from "expo-router";
|
||||
|
||||
@@ -17,6 +17,7 @@ import type {
|
||||
ParamListBase,
|
||||
TabNavigationState,
|
||||
} from "@react-navigation/native";
|
||||
import {} from "@expo/vector-icons/Ionicons";
|
||||
|
||||
export const NativeTabs = withLayoutContext<
|
||||
BottomTabNavigationOptions,
|
||||
@@ -40,21 +41,24 @@ export default function TabLayout() {
|
||||
name="(home)"
|
||||
options={{
|
||||
title: "Home",
|
||||
tabBarIcon: ({ color, focused, size }) => ({ sfSymbol: "house" }),
|
||||
tabBarIcon: ({ color, focused, size }) =>
|
||||
require("@/assets/icons/house.fill.png"),
|
||||
}}
|
||||
/>
|
||||
<NativeTabs.Screen
|
||||
name="(search)"
|
||||
options={{
|
||||
title: "Search",
|
||||
tabBarIcon: () => ({ sfSymbol: "magnifyingglass" }),
|
||||
tabBarIcon: ({ color, focused, size }) =>
|
||||
require("@/assets/icons/magnifyingglass.png"),
|
||||
}}
|
||||
/>
|
||||
<NativeTabs.Screen
|
||||
name="(libraries)"
|
||||
options={{
|
||||
title: "Library",
|
||||
tabBarIcon: () => ({ sfSymbol: "server.rack" }),
|
||||
tabBarIcon: ({ color, focused, size }) =>
|
||||
require("@/assets/icons/server.rack.png"),
|
||||
}}
|
||||
/>
|
||||
</NativeTabs>
|
||||
|
||||
BIN
assets/icons/house.fill.png
Normal file
BIN
assets/icons/house.fill.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 112 KiB |
BIN
assets/icons/magnifyingglass.png
Normal file
BIN
assets/icons/magnifyingglass.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
BIN
assets/icons/server.rack.png
Normal file
BIN
assets/icons/server.rack.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
@@ -30,6 +30,7 @@
|
||||
"@shopify/flash-list": "1.6.4",
|
||||
"@tanstack/react-query": "^5.56.2",
|
||||
"@types/lodash": "^4.17.9",
|
||||
"@types/react-native-vector-icons": "^6.4.18",
|
||||
"@types/uuid": "^10.0.0",
|
||||
"add": "^2.0.6",
|
||||
"axios": "^1.7.7",
|
||||
|
||||
Reference in New Issue
Block a user