mirror of
https://github.com/sudosylabs/vnidrop.git
synced 2026-08-05 02:29:55 +02:00
feat(apple): streamline the Storage screen and fix stuck usage
Redesign the Storage screen for clarity: an "On this device" usage header with a manual Refresh control, symbol-led action buttons, and a caption under each action spelling out exactly what it does (Free up space = temp + trash, non-destructive; Delete all transfers = clears history + cached share content, keeps received files). Fix the summary sticking on "Calculating…": it loaded only on .onAppear and bailed when opened before the core finished its async launch, leaving the loading branch showing with nothing running (only a manual refresh recovered it). loadStorageUsage now waits for the core to become ready before reading usage, distinguishes a real failure (retry) from loading, loads via .task, and can be refreshed on demand. Use plain button styling with explicit tints so pressing an action no longer flips the label to the white selection highlight.
This commit is contained in:
@@ -206,6 +206,11 @@
|
||||
<string name="storage_cleaning">Limpiando…</string>
|
||||
<string name="storage_cleanup_busy">Finaliza las transferencias activas antes de liberar espacio</string>
|
||||
<string name="storage_cleanup_freed">Se liberó %1$s</string>
|
||||
<string name="storage_delete_transfers_caption">Borra tu historial de envíos y recepciones y el contenido compartido en caché de la app. Los archivos recibidos en el disco se conservan.</string>
|
||||
<string name="storage_free_up_space_caption">Elimina los archivos temporales y los restos de transferencias anteriores. Tus transferencias y archivos recibidos se conservan.</string>
|
||||
<string name="storage_refresh">Actualizar</string>
|
||||
<string name="storage_unavailable">El uso de almacenamiento aún no está disponible</string>
|
||||
<string name="storage_usage_header">En este dispositivo</string>
|
||||
<string name="storage_free_up_space">Liberar espacio</string>
|
||||
<string name="storage_delete_transfers">Eliminar todas las transferencias</string>
|
||||
<string name="storage_delete_transfers_description">Esto borra de su historial todos los registros de transferencias enviadas y recibidas. Sus archivos recibidos no se eliminan. El contenido compartido en caché que ya no se necesita se recupera automáticamente, lo que puede tardar un poco. Esto no se puede deshacer.</string>
|
||||
|
||||
Reference in New Issue
Block a user