Skip to content
Snippets Groups Projects
Commit 52812281 authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Refactor BackupParams

parent 17e117a3
No related branches found
No related tags found
2 merge requests!102Release 1.0.0,!100Messenger - restore from backup
......@@ -2,16 +2,16 @@ import Foundation
public struct BackupParams: Codable {
public init(
username: String,
email: String?,
phone: String?,
username: String
phone: String?
) {
self.username = username
self.email = email
self.phone = phone
self.username = username
}
public var username: String
public var email: String?
public var phone: String?
public var username: String
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment