mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Remove meshtastic username
This commit is contained in:
parent
87ea501479
commit
690ef05b1d
3 changed files with 2 additions and 17 deletions
|
|
@ -292,15 +292,7 @@ struct ChannelMessageList: View {
|
|||
Button {
|
||||
let userLongName = bleManager.connectedPeripheral != nil ? bleManager.connectedPeripheral.longName : "Unknown"
|
||||
sendPositionWithMessage = true
|
||||
if UserDefaults.meshtasticUsername.count > 0 {
|
||||
|
||||
typingMessage += "📍 " + UserDefaults.meshtasticUsername + " has shared their position with you from node " + userLongName
|
||||
|
||||
} else {
|
||||
|
||||
typingMessage += "📍 " + userLongName + " has shared their position with you."
|
||||
}
|
||||
|
||||
typingMessage += "📍 " + userLongName + " has shared their position with you."
|
||||
} label: {
|
||||
Text("share.position")
|
||||
Image(systemName: "mappin.and.ellipse")
|
||||
|
|
|
|||
|
|
@ -258,13 +258,7 @@ struct UserMessageList: View {
|
|||
Button {
|
||||
let userLongName = bleManager.connectedPeripheral != nil ? bleManager.connectedPeripheral.longName : "Unknown"
|
||||
sendPositionWithMessage = true
|
||||
|
||||
if UserDefaults.meshtasticUsername.count > 0 {
|
||||
typingMessage = "📍 " + UserDefaults.meshtasticUsername + " has shared their position with you from node " + userLongName + " and requested a response with your position."
|
||||
} else {
|
||||
typingMessage = "📍 " + userLongName + " has shared their position and requested a response with your position."
|
||||
}
|
||||
|
||||
typingMessage = "📍 " + userLongName + " has shared their position and requested a response with your position."
|
||||
} label: {
|
||||
Text("share.position")
|
||||
Image(systemName: "mappin.and.ellipse")
|
||||
|
|
|
|||
|
|
@ -219,7 +219,6 @@ struct DeviceConfig: View {
|
|||
dc.debugLogEnabled = debugLogEnabled
|
||||
dc.buttonGpio = UInt32(buttonGPIO)
|
||||
dc.buzzerGpio = UInt32(buzzerGPIO)
|
||||
|
||||
//dc.gpsEnGpio = UInt32(gpsEnGPIO)
|
||||
dc.rebroadcastMode = RebroadcastModes(rawValue: rebroadcastMode)?.protoEnumValue() ?? RebroadcastModes.all.protoEnumValue()
|
||||
dc.doubleTapAsButtonPress = doubleTapAsButtonPress
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue