mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Touch up favorites
This commit is contained in:
parent
8a214d93eb
commit
6b769ddb5b
2 changed files with 2 additions and 2 deletions
|
|
@ -304,6 +304,5 @@ struct UserList: View {
|
|||
} else {
|
||||
users.nsPredicate = nil
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,7 +54,8 @@ struct NodeList: View {
|
|||
.contextMenu {
|
||||
|
||||
Button {
|
||||
if node.favorite {
|
||||
if !node.favorite {
|
||||
|
||||
let success = bleManager.setFavoriteNode(node: node, connectedNodeNum: Int64(connectedNodeNum))
|
||||
if success {
|
||||
node.favorite = !node.favorite
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue