From 51813cbd86bf50546d9804d5b1122362b899bd34 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Mon, 21 Aug 2023 23:03:30 -0700 Subject: [PATCH] case insensitve search --- Meshtastic/Views/Nodes/NodeList.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meshtastic/Views/Nodes/NodeList.swift b/Meshtastic/Views/Nodes/NodeList.swift index aa77c2f0..ccb3fd2f 100644 --- a/Meshtastic/Views/Nodes/NodeList.swift +++ b/Meshtastic/Views/Nodes/NodeList.swift @@ -19,7 +19,7 @@ struct NodeList: View { searchText } set: { newValue in searchText = newValue - nodes.nsPredicate = newValue.isEmpty ? nil : NSPredicate(format: "user.longName CONTAINS %@", newValue) + nodes.nsPredicate = newValue.isEmpty ? nil : NSPredicate(format: "user.longName CONTAINS[c] %@", newValue) } }