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
This commit is part of merge request !100. Comments created here will be created in the context of that merge request.
...@@ -2,16 +2,16 @@ import Foundation ...@@ -2,16 +2,16 @@ import Foundation
public struct BackupParams: Codable { public struct BackupParams: Codable {
public init( public init(
username: String,
email: String?, email: String?,
phone: String?, phone: String?
username: String
) { ) {
self.username = username
self.email = email self.email = email
self.phone = phone self.phone = phone
self.username = username
} }
public var username: String
public var email: String? public var email: String?
public var phone: 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