Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Hide empty Space preferences section

Anand Baburajan501fc919c0af
diff --git a/web/apps/space/src/screens/SettingsScreen.tsx b/web/apps/space/src/screens/SettingsScreen.tsx
index 3ac5463278..8a354e012b 100644
--- a/web/apps/space/src/screens/SettingsScreen.tsx
+++ b/web/apps/space/src/screens/SettingsScreen.tsx
@@ -506,7 +506,10 @@ export const SettingsScreen: React.FC<SettingsScreenProps> = ({
label="Change cover image"
onClick={onChangeCoverImage}
/>
- <SettingsEyebrow>PREFERENCES</SettingsEyebrow>
+ {(webPushPrompt.isPilotEligible ||
+ installPrompt.canInstall) && (
+ <SettingsEyebrow>PREFERENCES</SettingsEyebrow>
+ )}
{webPushPrompt.isPilotEligible && (
<SettingsRow
icon={Notification02Icon}