Skip to content

Commit

Permalink
[Fix] #375 시작 버튼 클릭 시 소리, 화면 현재 Index 초기화
Browse files Browse the repository at this point in the history
  • Loading branch information
l1004ga committed Jan 31, 2025
1 parent 4e1454b commit 93b0f4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Macro/Domain/UseCase/MetronomeOnOffImplement.swift
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ extension MetronomeOnOffImplement: MetronomeOnOffUseCase {
self.soundManager.audioEngineStart()
// 데이터 갱신
self.currentBeatIndex = 0
self.initialDaeSoBakIndex()
UIApplication.shared.isIdleTimerDisabled = true
// Timer 설정
if let timer { self.stop() }
Expand Down

0 comments on commit 93b0f4b

Please sign in to comment.