Skip to content

Commit

Permalink
Merge branch 'release/v1.0.0(24)'
Browse files Browse the repository at this point in the history
  • Loading branch information
dhekra-rouatbi committed Aug 10, 2022
2 parents 37263e6 + 7094800 commit fd7ec81
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tella.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2020,7 +2020,7 @@
CODE_SIGN_ENTITLEMENTS = "Tella/Supporting Files/Tella.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 23;
CURRENT_PROJECT_VERSION = 24;
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = 6ZG9T42688;
ENABLE_PREVIEWS = YES;
Expand All @@ -2047,7 +2047,7 @@
CODE_SIGN_ENTITLEMENTS = "Tella/Supporting Files/Tella.entitlements";
CODE_SIGN_IDENTITY = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 23;
CURRENT_PROJECT_VERSION = 24;
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = 6ZG9T42688;
ENABLE_PREVIEWS = YES;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ struct ImportFilesProgressView: View {
if isFinishing {
DispatchQueue.main.asyncAfter(deadline: .now() + 0.4) {
sheetManager.hide()
mainAppModel.vaultManager.clearTmpDirectory()
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ class RecordingAudioManager: AudioRecorderManager, ObservableObject {
guard let fileName = self.getFileName()
else { return }

self.currentFileName = fileName

do {
self.recorder = try AVAudioRecorder(url: fileName, settings: settings)
self.recorder.record()
Expand Down
3 changes: 3 additions & 0 deletions Tella/Scenes/Audio/Recorder/Views/RecordView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ struct RecordView: View {
.alert(isPresented: self.$viewModel.shouldShowSettingsAlert) {
getSettingsAlertView()
}
.onDisappear {
mainAppModel.vaultManager.clearTmpDirectory()
}
}

private func getSettingsAlertView() -> Alert {
Expand Down

0 comments on commit fd7ec81

Please sign in to comment.