Skip to content

Commit

Permalink
Remove extra brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
garthvh committed Jul 2, 2024
1 parent f74f399 commit b9f36d8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion Meshtastic/Views/Messages/UserList.swift
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ struct UserList: View {
let hopsAwayPredicate = NSPredicate(format: "userNode.hopsAway > 0 AND userNode.hopsAway <= %i", Int32(hopsAway))
predicates.append(hopsAwayPredicate)
}
}
/// Online
if isOnline {
let isOnlinePredicate = NSPredicate(format: "userNode.lastHeard >= %@", Calendar.current.date(byAdding: .minute, value: -15, to: Date())! as NSDate)
Expand Down
1 change: 0 additions & 1 deletion Meshtastic/Views/Nodes/NodeList.swift
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,6 @@ struct NodeList: View {
let hopsAwayPredicate = NSPredicate(format: "hopsAway > 0 AND hopsAway <= %i", Int32(hopsAway))
predicates.append(hopsAwayPredicate)
}
}

/// Online
if isOnline {
Expand Down

0 comments on commit b9f36d8

Please sign in to comment.