mirror of
https://github.com/Boof2015/astra-mobile.git
synced 2026-08-19 12:14:47 +02:00
initial home screen
This commit is contained in:
@@ -32,9 +32,11 @@ interface TabBarProps {
|
||||
*/
|
||||
export function TabBar({ items, onPress }: TabBarProps) {
|
||||
const insets = useSafeAreaInsets();
|
||||
const homeFocused = items.some((item) => item.name === 'index' && item.focused);
|
||||
|
||||
return (
|
||||
<View style={styles.wrap}>
|
||||
<MiniPlayer />
|
||||
{!homeFocused ? <MiniPlayer /> : null}
|
||||
<View
|
||||
style={[
|
||||
styles.bar,
|
||||
|
||||
Reference in New Issue
Block a user