diff --git a/src/components/Settings/PWASettings.tsx b/src/components/Settings/PWASettings.tsx index 989d6128..72fba059 100644 --- a/src/components/Settings/PWASettings.tsx +++ b/src/components/Settings/PWASettings.tsx @@ -63,151 +63,154 @@ const PWASettings: React.FC = ({ settings, onUpdate, onClose }

PWA & Flight Mode

- {/* PWA Install Section */} -
-
-
- - Install Boris as a PWA +
+
+ {/* PWA Install Section */} +
+
+ + Install Boris as a PWA +
+

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

+ +
+ + {/* Flight Mode Section */} +
+ + + {(settings.enableImageCache ?? true) && ( +
+ + ( {cacheStats.totalSizeMB.toFixed(1)} MB / + onUpdate({ imageCacheSizeMB: parseInt(e.target.value) || 210 })} + style={{ + width: '50px', + padding: '0.15rem 0.35rem', + background: 'var(--surface-secondary)', + border: '1px solid var(--border-color, #333)', + borderRadius: '4px', + color: 'inherit', + fontSize: 'inherit', + fontFamily: 'inherit', + textAlign: 'center' + }} + /> + MB used ) + + +
+ )} +
+ +
+ +
+ + -

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

-
+ Progressive Web App
- - {/* Flight Mode Section */} -
- - - {(settings.enableImageCache ?? true) && ( -
- - ( {cacheStats.totalSizeMB.toFixed(1)} MB / - onUpdate({ imageCacheSizeMB: parseInt(e.target.value) || 210 })} - style={{ - width: '50px', - padding: '0.15rem 0.35rem', - background: 'var(--surface-secondary)', - border: '1px solid var(--border-color, #333)', - borderRadius: '4px', - color: 'inherit', - fontSize: 'inherit', - fontFamily: 'inherit', - textAlign: 'center' - }} - /> - MB used ) - - -
- )} -
- -
- -
- -
) }