mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Integrate some copilot review suggestions
This commit is contained in:
parent
825b198e60
commit
d56f55d6f0
1 changed files with 2 additions and 2 deletions
|
|
@ -149,7 +149,7 @@ struct MeshtasticAppleApp: App {
|
|||
}
|
||||
|
||||
func handleContactUrl(url: URL) {
|
||||
let components = self.incomingUrl?.absoluteString.components(separatedBy: "#") ?? []
|
||||
let components = url.absoluteString.components(separatedBy: "#")
|
||||
// Extract contact information from the URL
|
||||
if let contactData = components.last {
|
||||
|
||||
|
|
@ -161,7 +161,7 @@ struct MeshtasticAppleApp: App {
|
|||
// Show an alert to confirm adding the contact
|
||||
let alertController = UIAlertController(
|
||||
title: "Add Contact",
|
||||
message: "Would you like to add \(contact.user.longName) as a contact?",
|
||||
message: "Would you like to add \(contact.user.longName) as a contact?",
|
||||
preferredStyle: .alert
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue