File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Shared/Samples/Analyze network with subnetwork trace Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ struct AnalyzeNetworkWithSubnetworkTraceView: View {
116116 Spacer ( )
117117 Button {
118118 isConditionMenuPresented = true
119+ inputValue = nil
119120 } label: {
120121 Image ( systemName: " plus " )
121122 . imageScale ( . large)
@@ -254,8 +255,8 @@ struct AnalyzeNetworkWithSubnetworkTraceView: View {
254255 List ( model. possibleAttributes, id: \. name) { attribute in
255256 HStack {
256257 Text ( attribute. name)
258+ Spacer ( )
257259 if attribute === selectedAttribute {
258- Spacer ( )
259260 Image ( systemName: " checkmark " )
260261 . foregroundColor ( . accentColor)
261262 }
@@ -273,8 +274,8 @@ struct AnalyzeNetworkWithSubnetworkTraceView: View {
273274 List ( UtilityNetworkAttributeComparison . Operator. allCases, id: \. self) { comparison in
274275 HStack {
275276 Text ( comparison. title)
277+ Spacer ( )
276278 if comparison == selectedComparison {
277- Spacer ( )
278279 Image ( systemName: " checkmark " )
279280 . foregroundColor ( . accentColor)
280281 }
@@ -294,8 +295,8 @@ struct AnalyzeNetworkWithSubnetworkTraceView: View {
294295 List ( domain. codedValues, id: \. name) { value in
295296 HStack {
296297 Text ( value. name)
298+ Spacer ( )
297299 if value === selectedValue as? CodedValue {
298- Spacer ( )
299300 Image ( systemName: " checkmark " )
300301 . foregroundColor ( . accentColor)
301302 }
You can’t perform that action at this time.
0 commit comments