Supported badge updates

This commit is contained in:
Garth Vander Houwen 2025-03-30 17:38:00 -07:00
parent 7c27918419
commit fe5fb27601
2 changed files with 8 additions and 2 deletions

View file

@ -4251,6 +4251,9 @@
}
}
}
},
"Community Support" : {
},
"Config" : {
"localizations" : {
@ -10673,6 +10676,9 @@
}
}
}
},
"Full Support" : {
},
"gas" : {
"extractionState" : "manual",

View file

@ -22,12 +22,12 @@ struct NodeInfoItem: View {
if user.hwModel != "UNSET" {
VStack(alignment: .center) {
Spacer()
Image(systemName: currentDevice?.activelySupported ?? false ? "checkmark.seal.fill" : "x.circle")
Image(systemName: currentDevice?.activelySupported ?? false ? "checkmark.seal.fill" : "xmark.seal")
.resizable()
.aspectRatio(contentMode: .fill)
.frame(width: 75, height: 75)
.foregroundStyle(currentDevice?.activelySupported ?? false ? .green : .red)
Text( currentDevice?.activelySupported ?? false ? "Supported" : "Unsupported")
Text( currentDevice?.activelySupported ?? false ? "Full Support" : "Community Support")
.foregroundStyle(.gray)
.font(.callout)
}