mirror of
https://github.com/kean/Pulse.git
synced 2026-05-30 21:07:33 +00:00
27 lines
630 B
Swift
27 lines
630 B
Swift
// The MIT License (MIT)
|
|
//
|
|
// Copyright (c) 2020-2024 Alexander Grebenyuk (github.com/kean).
|
|
|
|
#if os(iOS) || os(visionOS) || os(macOS)
|
|
|
|
import SwiftUI
|
|
import CoreData
|
|
import Pulse
|
|
import Combine
|
|
|
|
@available(iOS 15, visionOS 1.0, *)
|
|
struct ConsoleSearchContextMenu: View {
|
|
@EnvironmentObject private var viewModel: ConsoleSearchViewModel
|
|
|
|
var body: some View {
|
|
Menu {
|
|
StringSearchOptionsMenu(options: $viewModel.options)
|
|
} label: {
|
|
Image(systemName: "ellipsis.circle")
|
|
.font(.system(size: 20))
|
|
.foregroundColor(.accentColor)
|
|
}
|
|
}
|
|
}
|
|
#endif
|