Merge branch 'meshtastic:master' into fix-NaN-blank-env-graph

pull/1744/head
Robert-0410 2025-03-31 18:42:29 -07:00 zatwierdzone przez GitHub
commit f6adc0b63f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
4 zmienionych plików z 15 dodań i 12 usunięć

13
.github/release.yml vendored 100644
Wyświetl plik

@ -0,0 +1,13 @@
# .github/release.yml
changelog:
categories:
- title: 🛠Fixes & Features
labels:
- '*'
exclude:
labels:
- dependencies
- title: 👷Dependencies
labels:
- dependencies

Wyświetl plik

@ -1574,7 +1574,7 @@ class MeshService : Service(), Logging {
insertMeshLog(packetToSave)
newNodes.add(info)
radioConfigRepository.setStatusMessage("Nodes (${newNodes.size} / 100)")
radioConfigRepository.setStatusMessage("Nodes (${newNodes.size})")
}
private var rawMyNodeInfo: MeshProtos.MyNodeInfo? = null

Wyświetl plik

@ -51,11 +51,6 @@ class MeshServiceNotifications(
const val OPEN_MESSAGE_ACTION = "com.geeksville.mesh.OPEN_MESSAGE_ACTION"
const val OPEN_MESSAGE_EXTRA_CONTACT_KEY =
"com.geeksville.mesh.OPEN_MESSAGE_EXTRA_CONTACT_KEY"
const val SERVICE_GROUP = "SERVICE_NOTIFICATION_GROUP"
const val MESSAGE_GROUP = "MESSAGE_NOTIFICATION_GROUP"
const val ALERT_GROUP = "ALERT_NOTIFICATION_GROUP"
const val NEW_NODE_GROUP = "NEW_NODE_NOTIFICATION_GROUP"
const val LOW_BATTERY_GROUP = "LOW_BATTERY_NOTIFICATION_GROUP"
const val MAX_BATTERY_LEVEL = 100
}
@ -407,7 +402,6 @@ class MeshServiceNotifications(
}
with(serviceNotificationBuilder) {
priority = NotificationCompat.PRIORITY_MIN
setGroup(SERVICE_GROUP)
setCategory(Notification.CATEGORY_SERVICE)
setOngoing(true)
setContentTitle(name)
@ -446,7 +440,6 @@ class MeshServiceNotifications(
setContentIntent(openMessageIntent(contactKey))
priority = NotificationCompat.PRIORITY_DEFAULT
setCategory(Notification.CATEGORY_MESSAGE)
setGroup(MESSAGE_GROUP)
setAutoCancel(true)
setStyle(
NotificationCompat.MessagingStyle(person)
@ -472,7 +465,6 @@ class MeshServiceNotifications(
setContentIntent(openMessageIntent(contactKey))
priority = NotificationCompat.PRIORITY_HIGH
setCategory(Notification.CATEGORY_ALARM)
setGroup(ALERT_GROUP)
setAutoCancel(true)
setStyle(
NotificationCompat.MessagingStyle(person)
@ -489,7 +481,6 @@ class MeshServiceNotifications(
}
with(newNodeSeenNotificationBuilder) {
priority = NotificationCompat.PRIORITY_DEFAULT
setGroup(NEW_NODE_GROUP)
setCategory(Notification.CATEGORY_STATUS)
setAutoCancel(true)
setContentTitle("New Node Seen: $name")
@ -524,7 +515,6 @@ class MeshServiceNotifications(
priority = NotificationCompat.PRIORITY_DEFAULT
setCategory(Notification.CATEGORY_STATUS)
setOngoing(true)
setGroup(LOW_BATTERY_GROUP)
setShowWhen(true)
setOnlyAlertOnce(true)
setWhen(System.currentTimeMillis())

Wyświetl plik

@ -83,7 +83,7 @@ fun SecurityConfigItemList(
EditBase64Preference(
title = "Public Key",
value = securityInput.publicKey,
enabled = enabled,
enabled = false,
keyboardActions = KeyboardActions(onDone = { focusManager.clearFocus() }),
onValueChange = {
if (it.size() == 32) {