Fix node detail selected node on mac

This commit is contained in:
Garth Vander Houwen 2022-06-17 22:05:42 -07:00
parent 698a2bd1bf
commit 64fa08789b

View file

@ -105,7 +105,8 @@ struct NodeList: View {
self.bleManager.context = context
self.bleManager.userSettings = userSettings
if UIDevice.current.userInterfaceIdiom == .pad {
if UIDevice.current.userInterfaceIdiom == .pad || UIDevice.current.userInterfaceIdiom == .mac {
if nodes.count > 0 {
selection = "0"
}