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