Skip to content

Commit

Permalink
style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Oct 27, 2023
1 parent 922b957 commit 7975d12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion FirebaseAuth/Sources/Swift/Utilities/AuthWebUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ import Foundation
}
}
throw AuthErrorUtils.unauthorizedDomainError(
message: "Error while validating application identity: The pod iconfigured custom domain is not allowlisted."
message: "Error while validating application identity: The " +
"configured custom domain is not allowlisted."
)
}
for domain in response.authorizedDomains ?? [] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ enum AuthMenu: String {
case .initRecaptcha:
return "Initialize reCAPTCHA Enterprise"
case .customAuthDomain:
return "Custom Auth Domain"
return "Set Custom Auth Domain"
}
}

Expand Down Expand Up @@ -103,7 +103,7 @@ enum AuthMenu: String {
self = .custom
case "Initialize reCAPTCHA Enterprise":
self = .initRecaptcha
case "Custom Auth Domain":
case "Set Custom Auth Domain":
self = .customAuthDomain
default: return nil
}
Expand Down Expand Up @@ -162,7 +162,7 @@ extension AuthMenu: DataSourceProvidable {

static var customAuthDomainSection: Section {
let image = UIImage(named: "firebaseIcon")
let header = "Set Custom Auth Domain"
let header = "Custom Auth Domain"
let item = Item(title: customAuthDomain.name, hasNestedContent: false, image: image)
return Section(headerDescription: header, items: [item])
}
Expand Down

0 comments on commit 7975d12

Please sign in to comment.