Skip to content

Commit cad23bc

Browse files
committed
refactor: Swiftformat
1 parent 8810567 commit cad23bc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

MailCore/Models/AddressBook.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
*/
1818

1919
import Foundation
20-
import RealmSwift
2120
import MailResources
21+
import RealmSwift
2222

2323
public struct AddressBookResult: Codable {
2424
var addressbooks: [AddressBook]
@@ -55,7 +55,8 @@ public final class AddressBook: Object, Codable, Identifiable {
5555
let decodedName = try container.decode(String.self, forKey: .name)
5656
let decodedIsDefault = try container.decode(Bool.self, forKey: .isDefault)
5757
let decodedGroupContacts = try container.decode(List<GroupContact>.self, forKey: .groupContact)
58-
let decodedOrganization = try container.decodeIfPresent(String.self, forKey: .organization) ?? MailResourcesStrings.Localizable.otherOrganisation
58+
let decodedOrganization = try container.decodeIfPresent(String.self, forKey: .organization) ?? MailResourcesStrings
59+
.Localizable.otherOrganisation
5960
let decodedIsDynamicOrganisation = try container.decode(Bool.self, forKey: .isDynamicOrganisation)
6061

6162
super.init()

0 commit comments

Comments
 (0)