mirror of
https://github.com/dergigi/boris.git
synced 2025-12-27 03:24:31 +01:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user