Files
Pulse/Sources/PulseUI/Features/Sessions/SessionPickerView.swift

26 lines
517 B
Swift
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// The MIT License (MIT)
//
// Copyright (c) 20202023 Alexander Grebenyuk (github.com/kean).
import Foundation
import Pulse
import SwiftUI
import CoreData
import Combine
#if os(iOS) || os(macOS)
struct SessionPickerView: View {
@Binding var selection: Set<UUID>
var body: some View {
SessionListView(selection: $selection, sharedSessions: .constant(nil))
#if os(iOS)
.environment(\.editMode, .constant(.active))
.inlineNavigationTitle("Sessions")
#endif
}
}
#endif