ios: close sheet when disconnecting from desktop (#3435)

This commit is contained in:
Evgeny Poberezkin 2023-11-22 22:10:41 +00:00 committed by GitHub
parent 15fdab597b
commit 4af4fbae2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -382,7 +382,7 @@ struct ConnectDesktopView: View {
private func disconnectButton() -> some View {
Button {
disconnectDesktop()
disconnectDesktop(.dismiss)
} label: {
Label("Disconnect", systemImage: "multiply")
}

View File

@ -1659,7 +1659,7 @@
<string name="unlink_desktop_question">Unlink desktop?</string>
<string name="unlink_desktop">Unlink</string>
<string name="disconnect_remote_host">Disconnect</string>
<string name="remote_host_was_disconnected_toast"><![CDATA[Remote host was disconnected: <b>%s</b>]]></string>
<string name="remote_host_was_disconnected_toast"><![CDATA[Mobile <b>%s</b> was disconnected]]></string>
<string name="disconnect_desktop_question">Disconnect desktop?</string>
<string name="only_one_device_can_work_at_the_same_time">Only one device can work at the same time</string>
<string name="open_on_mobile_and_scan_qr_code"><![CDATA[Open <i>Use from desktop</i> in mobile app and scan QR code.]]></string>