Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
emdobrin committed Mar 2, 2021
1 parent f74ab85 commit bc2b4e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions AEPIdentity/Sources/MobileIdentities.swift
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ struct MobileIdentities: Codable {
/// - Returns: a `UserID` where the namespace is value, value is identifier, and type is integrationCode
private static func dictToUserID(dict: [String: Any]) -> UserID? {
guard let type = dict[CustomIdentity.CodingKeys.type.rawValue] as? String,
let identifier = dict[CustomIdentity.CodingKeys.identifier.rawValue] as? String,
!identifier.isEmpty else { return nil }
let identifier = dict[CustomIdentity.CodingKeys.identifier.rawValue] as? String,
!identifier.isEmpty else { return nil }
return UserID(namespace: type, value: identifier, type: MobileIdentities.INTEGRATION_CODE)
}
}
2 changes: 1 addition & 1 deletion AEPServices/Sources/ApplicationSystemInfoService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class ApplicationSystemInfoService: SystemInfoService {

func getApplicationName() -> String? {
guard let infoDict = bundle.infoDictionary,
let appName = infoDict["CFBundleName"] as? String ?? infoDict["CFBundleDisplayName"] as? String else {
let appName = infoDict["CFBundleName"] as? String ?? infoDict["CFBundleDisplayName"] as? String else {
return nil
}

Expand Down

0 comments on commit bc2b4e0

Please sign in to comment.