From c246ccf9d965c3db72d13d0f311fd47079966a8e Mon Sep 17 00:00:00 2001 From: zsviczian Date: Mon, 14 Nov 2022 18:05:56 +0100 Subject: [PATCH] Update LayerUI.tsx --- src/components/LayerUI.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/LayerUI.tsx b/src/components/LayerUI.tsx index 2cefeed56..afd38ddb1 100644 --- a/src/components/LayerUI.tsx +++ b/src/components/LayerUI.tsx @@ -411,7 +411,8 @@ const LayerUI = ({ onClick={onCollabButtonClick} /> )} - {renderTopRightUI?.(device.isMobile, appState)} + {!appState.viewModeEnabled && + renderTopRightUI?.(device.isMobile, appState)} {!appState.viewModeEnabled && ( )}