mirror of
https://github.com/lumaa-dev/BubbleApp.git
synced 2024-12-11 08:57:58 +01:00
20 lines
423 B
Swift
20 lines
423 B
Swift
//Made by Lumaa
|
|
|
|
import Foundation
|
|
|
|
public struct Emoji: Codable, Hashable, Identifiable, Equatable, Sendable {
|
|
public func hash(into hasher: inout Hasher) {
|
|
hasher.combine(shortcode)
|
|
}
|
|
|
|
public var id: String {
|
|
shortcode
|
|
}
|
|
|
|
public let shortcode: String
|
|
public let url: URL
|
|
public let staticUrl: URL
|
|
public let visibleInPicker: Bool
|
|
public let category: String?
|
|
}
|