mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-06-10 01:09:29 +00:00
18 lines
327 B
Swift
18 lines
327 B
Swift
|
import Foundation
|
||
|
|
||
|
public struct Emoji: Codable, Hashable, Identifiable {
|
||
|
|
||
|
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
|
||
|
}
|