diff --git a/Meshtastic/Views/Messages/ChannelMessageList.swift b/Meshtastic/Views/Messages/ChannelMessageList.swift index 3c44cb54..0934b690 100644 --- a/Meshtastic/Views/Messages/ChannelMessageList.swift +++ b/Meshtastic/Views/Messages/ChannelMessageList.swift @@ -233,16 +233,29 @@ struct ChannelMessageList: View { #if targetEnvironment(macCatalyst) HStack { Spacer() + + Button { + let bell = "🔔 Alert Bell Character! \u{7}" + print(bell) + typingMessage += bell + + } label: { + Text("Alert Bell") + Image(systemName: "bell.fill") + .symbolRenderingMode(.hierarchical) + .imageScale(.large).foregroundColor(.accentColor) + } + Spacer() Button { let userLongName = bleManager.connectedPeripheral != nil ? bleManager.connectedPeripheral.longName : "Unknown" sendPositionWithMessage = true if userSettings.meshtasticUsername.count > 0 { - typingMessage = "📍 " + userSettings.meshtasticUsername + " has shared their position with you from node " + userLongName + typingMessage += "📍 " + userSettings.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: { @@ -285,6 +298,18 @@ struct ChannelMessageList: View { } .font(.subheadline) Spacer() + Button { + let bell = "🔔 Alert Bell Character! \u{7}" + print(bell) + typingMessage += bell + + } label: { + Text("Alert") + Image(systemName: "bell.fill") + .symbolRenderingMode(.hierarchical) + .imageScale(.large).foregroundColor(.accentColor) + } + Spacer() Button { let userLongName = bleManager.connectedPeripheral != nil ? bleManager.connectedPeripheral.longName : "Unknown" sendPositionWithMessage = true diff --git a/en.lproj/Localizable.strings b/en.lproj/Localizable.strings index dd6b1e2e..53253d8f 100644 --- a/en.lproj/Localizable.strings +++ b/en.lproj/Localizable.strings @@ -68,7 +68,7 @@ "device.role.repeater"="Repeater - Mesh packets will prefer to be routed over this node. This role eliminates unnecessary overhead such as NodeInfo, DeviceTelemetry, and any other mesh packet, resulting in the device not appearing as part of the network. Please see Rebroadcast Mode for additional settings specific to this role."; "device.role.tracker"="Tracker - For use with devices intended as a GPS tracker. Position packets sent from this device will be higher priority, with position broadcasting every two minutes. Smart Position Broadcast will default to off."; "direct.messages"="Direct Messages"; -"dismiss.keyboard"="Dismiss Keyboard"; +"dismiss.keyboard"="Dismiss"; "display"="Display (Device Screen)"; "display.config"="Display Config"; "distance"="Distance";