回答編集履歴

1

コード修正

2022/07/30 03:17

投稿

hoshi-takanori
hoshi-takanori

スコア7903

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 = filterMuscles.count == 1 ? "検索結果" : swithHeaderTitle(section: section)
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)