diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx index ccd855a..8fa80a1 100644 --- a/app/(tabs)/index.tsx +++ b/app/(tabs)/index.tsx @@ -442,7 +442,7 @@ const Index = observer(function Index() { return ( - setIsSearchOpen(true)} onQuickGen={handleQuickGen} selectedItem={selectedItem} /> + setIsSearchOpen(true)} onQuickGen={handleQuickGen} selectedItem={selectedItem} /> { @@ -522,7 +522,7 @@ const SearchOverlay = memo(function SearchOverlay({ isOpen, if (!isOpen) return null return ( - + (function GooActions({ gooPoints, on {isDev && isPolling && } )} - - {/* - - */} ) @@ -623,7 +616,7 @@ const DuooomiLogo = memo(function DuooomiLogo() { const width = 200 const height = 40 const textHeight = paragraph.getHeight() - const y = (height - textHeight) / 2 + const y = (height - textHeight) / 1.5 return ( @@ -636,8 +629,9 @@ type HeroCircleProps = { selectedItem: MediaItem | null onQuickGen: () => void onOpenSearch: () => void + isSearchOpen: boolean } -const HeroCircle = observer(function HeroCircle({ selectedItem, onQuickGen, onOpenSearch }) { +const HeroCircle = observer(function HeroCircle({ selectedItem, onQuickGen, onOpenSearch, isSearchOpen }) { const isAuthenticated = userStore.isAuthenticated const { balance } = userBalanceStore @@ -648,8 +642,8 @@ const HeroCircle = observer(function HeroCircle({ selectedItem, return ( - - + + @@ -698,12 +692,21 @@ const HeroCircle = observer(function HeroCircle({ selectedItem, - - - + {!isSearchOpen && ( + + + + + + + + + )} )