Files
Pulse/Sources/PulseUI/Features/Search/Views/ConsoleSearchContextMenu.swift
T
2023-02-03 20:23:41 -05:00

27 lines
571 B
Swift
Raw 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).
#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