Browse Source

Update MobileMenu.tsx

zsviczian 2 years ago
parent
commit
b412e742e6
1 changed files with 2 additions and 1 deletions
  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}