@@ -74,7 +74,8 @@ struct MyPage: View {
7474 VStack ( alignment: . leading, spacing: 20 ) {
7575 Summary (
7676 seconds: user. accumulateSeconds,
77- selection: $navSelection
77+ selection: $navSelection,
78+ shareViewModel: shareViewModel
7879 )
7980 . padding ( . bottom, 15 )
8081 Divider ( )
@@ -84,22 +85,25 @@ struct MyPage: View {
8485 subtitle: " 특별한 기록을 달성하면 받을 수 있어요. " ,
8586 badges: badgeViewModel. specials,
8687 selection: $navSelection,
87- showCountBadge: . constant( false )
88+ showCountBadge: . constant( false ) ,
89+ shareViewModel: shareViewModel
8890 )
8991 BadgePanel (
9092 title: " 월간 달성 " ,
9193 subtitle: " 한달 내에 쌓은 시간을 기준으로 합니다. " ,
9294 trailing: monthlyButton as? AnyView ,
9395 badges: badgeViewModel. monthly,
9496 selection: $navSelection,
95- showCountBadge: $badgeViewModel. showCountBadge
97+ showCountBadge: $badgeViewModel. showCountBadge,
98+ shareViewModel: shareViewModel
9699 )
97100 BadgePanel (
98101 title: " 연속 달성 " ,
99102 subtitle: " 멈추지 않고 이어서 기록된 시간을 기준으로 합니다. " ,
100103 badges: badgeViewModel. continuous,
101104 selection: $navSelection,
102- showCountBadge: . constant( false )
105+ showCountBadge: . constant( false ) ,
106+ shareViewModel: shareViewModel
103107 )
104108
105109 Spacer ( )
0 commit comments