mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
no message
This commit is contained in:
16
TelegramCore/SecureIdEmailValue.swift
Normal file
16
TelegramCore/SecureIdEmailValue.swift
Normal file
@@ -0,0 +1,16 @@
|
||||
import Foundation
|
||||
|
||||
public struct SecureIdEmailValue: Equatable {
|
||||
public let email: String
|
||||
|
||||
public init(email: String) {
|
||||
self.email = email
|
||||
}
|
||||
|
||||
public static func ==(lhs: SecureIdEmailValue, rhs: SecureIdEmailValue) -> Bool {
|
||||
if lhs.email != rhs.email {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user