回答編集履歴
1
コード修正
test
CHANGED
@@ -32,7 +32,7 @@
|
|
32
32
|
let muscles = filterMuscles
|
33
33
|
ForEach(muscles.indices, id: \.self) { section in
|
34
34
|
// swithHeaderTitle が何してるかよく分からないけど、これでいい?
|
35
|
-
let sectionTitle =
|
35
|
+
let sectionTitle = muscles.count == 1 ? "検索結果" : swithHeaderTitle(section: section)
|
36
36
|
Section(header: Text(sectionTitle)
|
37
37
|
.font(.system(size: 30))
|
38
38
|
.fontWeight(.heavy)
|