From 9dc0db3e06470cff4778e343a9637505e3047efb Mon Sep 17 00:00:00 2001 From: Gigi Date: Wed, 15 Oct 2025 19:42:27 +0200 Subject: [PATCH] fix: always show App & Airplane Mode section regardless of PWA status --- src/components/Settings/PWASettings.tsx | 34 ++++++++++++------------- 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/src/components/Settings/PWASettings.tsx b/src/components/Settings/PWASettings.tsx index 6b533630..c41d84bf 100644 --- a/src/components/Settings/PWASettings.tsx +++ b/src/components/Settings/PWASettings.tsx @@ -56,10 +56,6 @@ const PWASettings: React.FC = ({ settings, onUpdate, onClose } return () => clearInterval(interval) }, []) - if (!isInstallable && !isInstalled) { - return null - } - return (

App & Airplane Mode

@@ -182,20 +178,22 @@ const PWASettings: React.FC = ({ settings, onUpdate, onClose }
-
-

- Install Boris on your device for a native app experience. -

- -
+ {(isInstallable || isInstalled) && ( +
+

+ Install Boris on your device for a native app experience. +

+ +
+ )} {!isMobile && (