Skip to content

Commit c12b88f

Browse files
committed
Fix crash in WatchConnectivityService
1 parent bc0edc1 commit c12b88f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Sources/Pulse/LoggerStore/LoggerStore.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public final class LoggerStore: @unchecked Sendable, Identifiable {
4848
private var sessionIndex: Int64 = 0
4949

5050
/// The folder where Pulse stores its documents.
51-
static var logsURL: URL { URL.logs }
51+
public static var logsURL: URL { URL.logs }
5252

5353
private let blobsURL: URL
5454
private let manifestURL: URL

Sources/PulseUI/Helpers/WatchConnectivityService-ios.swift

+1-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ final class WatchConnectivityService: NSObject, ObservableObject {
4444
}
4545

4646
private func makeImportedStoreURL() -> URL {
47-
fatalError("not implemented")
48-
// LoggerStore.logsURL.appendingPathComponent("import.pulse")
47+
LoggerStore.logsURL.appendingPathComponent("import.pulse")
4948
}
5049

5150
extension LoggerStore {

0 commit comments

Comments
 (0)