Skip to content

Commit

Permalink
Merge pull request #216 from lovegaoshi/dev
Browse files Browse the repository at this point in the history
 chore: dep upgrade
  • Loading branch information
lovegaoshi authored Oct 24, 2023
2 parents f60b1c3 + fb846be commit cccecce
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 126 deletions.
64 changes: 33 additions & 31 deletions src/components/bottomtab/NoxBottomTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,37 +61,39 @@ const NoxAndroidBottomTab = ({ navigation }: Props) => {

if (gestureMode) {
return (
<View
style={[
styles.panel,
{ backgroundColor: playerStyle.colors.background },
]}
>
<BottomIconButton
icon={renderIcon(Routes.playlist)}
onPress={onDrawerPress}
/>
<BottomIconButton
icon={renderIcon(Routes.music)}
onPress={() => {
navigationGlobal.navigate(ViewEnum.PLAYER_HOME as never);
setRoute(Routes.music);
}}
/>
<BottomIconButton
icon={renderIcon(Routes.explore)}
onPress={() => {
navigationGlobal.navigate(ViewEnum.EXPORE as never);
setRoute(Routes.explore);
}}
/>
<BottomIconButton
icon={renderIcon(Routes.setting)}
onPress={() => {
navigationGlobal.navigate(ViewEnum.SETTINGS as never);
setRoute(Routes.setting);
}}
/>
<View style={{ backgroundColor: playerStyle.colors.background }}>
<View
style={[
styles.panel,
{ backgroundColor: playerStyle.colors.background },
]}
>
<BottomIconButton
icon={renderIcon(Routes.playlist)}
onPress={onDrawerPress}
/>
<BottomIconButton
icon={renderIcon(Routes.music)}
onPress={() => {
navigationGlobal.navigate(ViewEnum.PLAYER_HOME as never);
setRoute(Routes.music);
}}
/>
<BottomIconButton
icon={renderIcon(Routes.explore)}
onPress={() => {
navigationGlobal.navigate(ViewEnum.EXPORE as never);
setRoute(Routes.explore);
}}
/>
<BottomIconButton
icon={renderIcon(Routes.setting)}
onPress={() => {
navigationGlobal.navigate(ViewEnum.SETTINGS as never);
setRoute(Routes.setting);
}}
/>
</View>
</View>
);
}
Expand Down
Loading

1 comment on commit cccecce

@vercel
Copy link

@vercel vercel bot commented on cccecce Oct 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.