Skip to content

Commit

Permalink
[Fix] #27 - 사진/음성 권한 이슈
Browse files Browse the repository at this point in the history
  • Loading branch information
dlwogus0128 committed Dec 3, 2023
1 parent c244f48 commit 0373ab9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class ToMEDecibelMananger: NSObject, AVAudioRecorderDelegate {

override init() {
super.init()
requestAudioAuthorization()
}

// MARK: - Methods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ extension MissionProceedVC {

private func setMission() {
if missionType == 2 { // 데시벨 미션일 경우
decibelManager.requestAudioAuthorization()
setDecibelVisualization()
}
}
Expand Down

0 comments on commit 0373ab9

Please sign in to comment.