mirror of
https://github.com/kean/Pulse.git
synced 2026-05-30 21:07:33 +00:00
26 lines
517 B
Swift
26 lines
517 B
Swift
// The MIT License (MIT)
|
||
//
|
||
// Copyright (c) 2020–2023 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
|