Skip to content

Commit

Permalink
FIAM: Remove extraneous foo constant in Swift preview helpers (#10222)
Browse files Browse the repository at this point in the history
Removed an unintentional constant named "foo" from the Firebase In-App Messaging Swift API. This constant is not of use to developers (simply containing `UIColor.black`) and was only added accidentally.
  • Loading branch information
andrewheard committed Sep 15, 2022
1 parent 5e832e5 commit 0b0785f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions FirebaseInAppMessaging/CHANGELOG.md
@@ -1,3 +1,6 @@
# 10.0.0
- [removed] Removed `foo` constant from Swift `InAppMessagingPreviewHelpers` API (#10222).

# 9.2.0
- [changed] Replaced unarchiveObjectWithFile with unarchivedObjectOfClass to conform to secure coding practices, and implemented NSSecureCoding (#9816).

Expand Down
Expand Up @@ -20,7 +20,6 @@ import FirebaseInAppMessaging
@available(iOSApplicationExtension, unavailable)
@available(tvOSApplicationExtension, unavailable)
public enum InAppMessagingPreviewHelpers {
public static let foo = UIColor.black
public static func cardMessage(campaignName: String = "Card message campaign",
title: String = "Title for modal message",
body: String? = "Body for modal message",
Expand Down

0 comments on commit 0b0785f

Please sign in to comment.