From 1811cf045e46123ab0851e321fa31205cb8d93bc Mon Sep 17 00:00:00 2001 From: Gigi Date: Wed, 15 Oct 2025 19:01:34 +0200 Subject: [PATCH] refactor: split PWA description into two paragraphs and update text --- src/components/Settings/PWASettings.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/Settings/PWASettings.tsx b/src/components/Settings/PWASettings.tsx index bfefa453..a63d6c5a 100644 --- a/src/components/Settings/PWASettings.tsx +++ b/src/components/Settings/PWASettings.tsx @@ -1,6 +1,6 @@ import React, { useState, useEffect } from 'react' import { useNavigate } from 'react-router-dom' -import { faDownload, faCheckCircle, faMobileAlt, faTrash } from '@fortawesome/free-solid-svg-icons' +import { faDownload, faCheckCircle, faTrash } from '@fortawesome/free-solid-svg-icons' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { usePWAInstall } from '../../hooks/usePWAInstall' import { useIsMobile } from '../../hooks/useMediaQuery' @@ -69,8 +69,11 @@ const PWASettings: React.FC = ({ settings, onUpdate, onClose }
{/* PWA Install Section */}
-

- Install Boris on your device for a native app experience with offline support. Boris works best with a local relay. Consider running{' '} +

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

+

+ Note: Boris works best with a local relay. Consider running{' '} = ({ settings, onUpdate, onClose } > nostr-relay-tray - . Don't know what relays are? Learn more{' '} + {' '}to bring full offline functionality to Boris. Don't know what relays are? Learn more{' '} { e.preventDefault()