refactor: update cache stats display format

Change from '(X.X MB, N images)' to '( X.X MB / [ max ] MB used )'
This commit is contained in:
Gigi
2025-10-09 17:27:21 +01:00
parent 1b754e02dc
commit bbdf47fb94

View File

@@ -109,7 +109,7 @@ const OfflineModeSettings: React.FC<OfflineModeSettingsProps> = ({ settings, onU
gap: '0.5rem'
}}>
<span>
({cacheStats.totalSizeMB.toFixed(1)} MB, {cacheStats.itemCount} images)
( {cacheStats.totalSizeMB.toFixed(1)} MB / [ {settings.imageCacheSizeMB ?? 50} ] MB used )
</span>
<button
onClick={handleClearCache}