Explorar o código

Update MobileMenu.tsx

zsviczian %!s(int64=2) %!d(string=hai) anos
pai
achega
b412e742e6
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/components/MobileMenu.tsx

+ 2 - 1
src/components/MobileMenu.tsx

@@ -111,8 +111,9 @@ export const MobileMenu = ({
                     />
                   </Stack.Row>
                 </Island>
-                {renderTopRightUI && renderTopRightUI(true, appState)}
                 <div className="mobile-misc-tools-container">
+                  {!appState.viewModeEnabled &&
+                    renderTopRightUI?.(true, appState)}
                   <PenModeButton
                     checked={appState.penMode}
                     onChange={onPenModeToggle}