diff --git a/apps/renderer/src/modules/app-layout/feed-column/float-bar.mobile.tsx b/apps/renderer/src/modules/app-layout/feed-column/float-bar.mobile.tsx index f879a9f71..850afb25d 100644 --- a/apps/renderer/src/modules/app-layout/feed-column/float-bar.mobile.tsx +++ b/apps/renderer/src/modules/app-layout/feed-column/float-bar.mobile.tsx @@ -83,13 +83,10 @@ export const MobileFloatBar = ({ animate={animateController} >
- - - + -
@@ -132,23 +129,25 @@ const ViewTabs = ({ onViewChange }: { onViewChange?: (view: number) => void }) = ) } -const PlayerIcon = () => { +const PlayerIcon = ({ onLogoClick }: { onLogoClick?: () => void }) => { const { isPlaying, entryId } = useAudioPlayerAtomSelector( useCallback((state) => ({ isPlaying: state.status === "playing", entryId: state.entryId }), []), ) const feedId = useEntry(entryId, (s) => s.feedId) const feed = useFeedById(feedId, feedIconSelector) const [isShowPlayer, setIsShowPlayer] = useState(false) - if (!feed) return null - if (!isPlaying) return null + if (!feed || !isPlaying) { + return ( + + + + ) + } + return ( <> - {isShowPlayer && (