feat: add searchable emoji picker

This commit is contained in:
Valdemar Lorenzen
2026-10-15 13:59:10 +02:00
parent 6574c97276
commit 1de7983345
12 changed files with 2322 additions and 43 deletions
+2
View File
@@ -3,6 +3,7 @@ import Foundation
public struct Application: Identifiable, Sendable {
public enum Command: String, CaseIterable, Sendable {
case translate
case emoji
}
public static let commands = Command.allCases.map { Application(command: $0) }
public let command: Command?
@@ -20,6 +21,7 @@ public struct Application: Identifiable, Sendable {
public init(command: Command) {
let name = switch command {
case .translate: "Conjure Translate"
case .emoji: "Conjure Emoji"
}
self.init(canonicalURL: URL(string: "conjure-command://\(command.rawValue)")!, name: name, command: command)
}