feat(apple): send a transfer to a device from the share panel

Send to a device now sits alongside the QR code, NFC, and export actions,
since an offer is another way to deliver the same invitation. Picking a
device pushes the existing transfer rather than re-sharing the files.

The picker lists only devices holding a live grant, so nothing offered there
can fail on tap, and it distinguishes accepted from waiting for that device
to open the app.

Also fixes the deprecated SF Symbol and the two Sendable warnings introduced
with the contacts screen: the sections now talk to the model directly rather
than storing view callbacks that a Binding setter has to convert.
This commit is contained in:
2026-08-07 10:24:05 +02:00
parent d8587851a3
commit 3441280599
23 changed files with 310 additions and 35 deletions

View File

@@ -344,6 +344,10 @@
<string name="contacts_offer_held">Cet appareil nest pas ouvert. Le transfert sera remis à sa prochaine ouverture de VniDrop.</string>
<string name="contacts_waiting_title">En attente de remise</string>
<string name="contacts_waiting_hint">Annulez le transfert pour le retirer.</string>
<string name="contacts_send_to_device">Envoyer à un appareil</string>
<string name="contacts_pick_device_title">Choisir un appareil</string>
<string name="contacts_pick_device_empty">Aucun appareil nest joignable pour le moment. Les appareils enregistrés apparaissent ici après un transfert.</string>
<string name="contacts_sent_to_device">%1$s a accepté le transfert</string>
<plurals name="transfer_file_count">
<item quantity="one">%1$d fichier</item>
<item quantity="other">%1$d fichiers</item>