Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Aug 10, 2024
1 parent f440bec commit 0d2aa95
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/Pulse/RemoteLogger/RemoteLogger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public final class RemoteLogger: ObservableObject, RemoteLoggerConnectionDelegat
private let keychain = Keychain(service: "com.github.kean.pulse")
private let log: OSLog

public enum ConnectionState {
@frozen public enum ConnectionState {
case disconnected, connecting, connected
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct NetworkInspectorView: View {

var body: some View {
contents
.inlineNavigationTitle(environment.delegate.getShortTitle(for: task))
.inlineNavigationTitle(ConsoleViewDelegate.getShortTitle(for: task))
}

var contents: some View {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct NetworkInspectorView: View {

var body: some View {
contents
.inlineNavigationTitle(environment.delegate.getShortTitle(for: task))
.inlineNavigationTitle(ConsoleViewDelegate.getShortTitle(for: task))
// .toolbar {
// if #available(watchOS 9, *), let url = viewModel.shareTaskAsHTML() {
// ShareLink(item: url)
Expand Down
3 changes: 3 additions & 0 deletions Sources/PulseUI/Helpers/Components.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@

import SwiftUI
import Pulse
import CoreData

struct Components {
#if os(iOS) || os(macOS) || os(visionOS)
@available(iOS 15, macOS 13, visionOS 1, *)
static func makeSessionPicker(selection: Binding<Set<UUID>>) -> some View {
SessionPickerView(selection: selection)
}
#endif

static func makeRichTextView(string: NSAttributedString) -> some View {
RichTextView(viewModel: .init(string: string))
Expand Down

0 comments on commit 0d2aa95

Please sign in to comment.