mirror of
https://github.com/sudosylabs/vnidrop.git
synced 2026-08-13 05:49:57 +02:00
fix(apple): realign UI layer with regenerated core bindings
- map the new VnidropError cases (DeviceUnavailable, OfferTimeout, RelayPolicyIncompatible, ProtocolIncompatible) to existing catalog keys - drop the stale .map(\.share) now that sharePickedFiles returns Share - remove the duplicate .transfersChanged pattern in the signal switch - replace the deprecated String(cString:) sysctl decode - close the CoreGateway protocol declaration
This commit is contained in:
@@ -353,7 +353,7 @@ final class SendModel: ObservableObject {
|
||||
senderName: current.senderName.trimmingCharacters(in: .whitespacesAndNewlines),
|
||||
destination: .invitation(accessPolicy: current.accessPolicy)
|
||||
)
|
||||
switch result.map(\.share) {
|
||||
switch result {
|
||||
case .success(let share):
|
||||
await fileSystemService.discardPickedFiles(current.selectedFiles)
|
||||
if let thumb = current.selectedFiles.compactMap(\.thumbnailData).first {
|
||||
|
||||
Reference in New Issue
Block a user