Skip to content

Commit

Permalink
[Feat] #375 MetronomeSettingControlView 이관에 따른 isSobakOn 토글 연동 및 기능 연동
Browse files Browse the repository at this point in the history
  • Loading branch information
l1004ga committed Jan 31, 2025
1 parent b09e34b commit 2ef987d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ struct MetronomeSettingControlView: View {

Button {
self.isSobakOn.toggle()
self.viewModel.effect(action: .changeSobakOnOff)
} label: {
if let sobakSegmentCount = self.viewModel.state.currentJangdanType?.sobakSegmentCount {
ViewSobakToggleView(isSobakOn: $isSobakOn)
Expand Down

0 comments on commit 2ef987d

Please sign in to comment.