Skip to content

Commit 1f4d815

Browse files
committed
fix: normalize E2E plist config
1 parent 7d9b791 commit 1f4d815

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Bitkit/Constants/Env.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ enum Env {
2626

2727
private static func infoPlistValue(_ key: String) -> String? {
2828
let value = Bundle.main.object(forInfoDictionaryKey: key) as? String
29-
return value?.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty == false ? value : nil
29+
let trimmed = value?.trimmingCharacters(in: .whitespacesAndNewlines)
30+
return trimmed?.isEmpty == false ? trimmed : nil
3031
}
3132

3233
private static var e2eBackend: String {

0 commit comments

Comments
 (0)