Skip to content

Commit

Permalink
option to copy qr code errors to clipboard
Browse files Browse the repository at this point in the history
  • Loading branch information
r10s committed Feb 9, 2025
1 parent 51528f8 commit 537cf9e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deltachat-ios/Coordinator/AppCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,10 @@ class AppCoordinator: NSObject {
}
}
let alert = UIAlertController(title: msg, message: nil, preferredStyle: .alert)
alert.addAction(UIAlertAction(title: String.localized("ok"), style: .default, handler: nil))
alert.addAction(UIAlertAction(title: String.localized("cancel"), style: .cancel, handler: nil))
alert.addAction(UIAlertAction(title: String.localized("global_menu_edit_copy_desktop"), style: .default, handler: { _ in
UIPasteboard.general.string = msg
}))
viewController.present(alert, animated: true, completion: nil)
}
}
Expand Down

0 comments on commit 537cf9e

Please sign in to comment.