mirror of
https://github.com/sudosylabs/vnidrop.git
synced 2026-08-14 14:19:57 +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">Pulizia…</string>
|
||||
<string name="storage_cleanup_busy">Completa i trasferimenti attivi prima di liberare spazio</string>
|
||||
<string name="storage_cleanup_freed">Liberati %1$s</string>
|
||||
<string name="storage_delete_transfers_caption">Cancella la cronologia di invii e ricezioni e i contenuti di condivisione memorizzati dall\'app. I file ricevuti sul disco vengono mantenuti.</string>
|
||||
<string name="storage_free_up_space_caption">Rimuove i file temporanei e i residui dei trasferimenti precedenti. I tuoi trasferimenti e i file ricevuti vengono mantenuti.</string>
|
||||
<string name="storage_refresh">Aggiorna</string>
|
||||
<string name="storage_unavailable">L\'utilizzo dello spazio non è ancora disponibile</string>
|
||||
<string name="storage_usage_header">Su questo dispositivo</string>
|
||||
<string name="storage_free_up_space">Libera spazio</string>
|
||||
<string name="storage_delete_transfers">Elimina tutti i trasferimenti</string>
|
||||
<string name="storage_delete_transfers_description">Questo cancella dalla cronologia tutti i record dei trasferimenti inviati e ricevuti. I file ricevuti non vengono eliminati. Il contenuto condiviso nella cache che non serve più viene recuperato automaticamente, operazione che può richiedere un po’ di tempo. Questa azione non può essere annullata.</string>
|
||||
|
||||
Reference in New Issue
Block a user