Ver Fonte

Update MobileMenu.tsx

zsviczian há 2 anos atrás
pai
commit
b412e742e6
1 ficheiros alterados com 2 adições e 1 exclusões
  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}