Skip to content

Commit

Permalink
lint and undo plist changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pragatimodi committed May 6, 2024
1 parent 562938e commit ebd2a68
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@
<key>CFBundleURLName</key>
<string></string>
<key>CFBundleURLSchemes</key>
<array>
<string>app-1-1085102361755-ios-2b9d4a82e5df229f</string>
<string>app-1-1085102361755-ios-74df231d8a2072e45dca3e</string>
</array>
<array/>
</dict>
</array>
<key>CFBundleVersion</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,15 +254,6 @@ extension AuthSettings: DataSourceProvidable {

func appCredentialString() -> String {
if let credential = AppManager.shared.auth().appCredentialManager.credential {
let message = "receipt: \(credential.receipt)\nsecret: \(credential.secret)"

showPromptWithTitle("Clear App Credential?", message: message,
showCancelButton: true) { userPressedOK, _ in
if userPressedOK {
AppManager.shared.auth().appCredentialManager.clearCredential()
}
}
}
let truncatedReceipt = truncatedString(string: credential.receipt, length: 13)
let truncatedSecret = truncatedString(string: credential.secret ?? "", length: 13)
return "\(truncatedReceipt)/\(truncatedSecret)"
Expand Down

0 comments on commit ebd2a68

Please sign in to comment.