From 0a1b8778c0bb94d6c273d2c14589ff7b8fc94466 Mon Sep 17 00:00:00 2001 From: Louis <133622055+louis-jan@users.noreply.github.com> Date: Fri, 27 Oct 2023 14:43:43 +0700 Subject: [PATCH] fix: hide preferences section if empty (#482) --- web/screens/Settings/index.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/web/screens/Settings/index.tsx b/web/screens/Settings/index.tsx index bc8b88634..0d6591071 100644 --- a/web/screens/Settings/index.tsx +++ b/web/screens/Settings/index.tsx @@ -126,9 +126,11 @@ const SettingsScreen = () => {
- + {preferencePlugins.length > 0 && ( + + )}
{preferencePlugins.map((menu, i) => { const isActive = activePreferencePlugin === menu