From 458005445faf4ab8c83f8f5bbded1e725cf187cc Mon Sep 17 00:00:00 2001 From: Hailey Date: Mon, 10 Jun 2024 08:34:26 -0700 Subject: [PATCH] nit --- .../ios/ExpoBackgroundNotificationHandlerModule.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/expo-background-notification-handler/ios/ExpoBackgroundNotificationHandlerModule.swift b/modules/expo-background-notification-handler/ios/ExpoBackgroundNotificationHandlerModule.swift index 64f4ec6a4e..1580a293ed 100644 --- a/modules/expo-background-notification-handler/ios/ExpoBackgroundNotificationHandlerModule.swift +++ b/modules/expo-background-notification-handler/ios/ExpoBackgroundNotificationHandlerModule.swift @@ -114,13 +114,13 @@ public class ExpoBackgroundNotificationHandlerModule: Module { } } - AsyncFunction("setBadgeCountAsync") { (type: BadgeCountType, count: Int) in + AsyncFunction("setBadgeCountAsync") { (type: BadgeType, count: Int) in userDefaults?.setValue(count, forKey: type.toKeyName()) } } } -enum BadgeCountType : String, Enumerable { +enum BadgeType : String, Enumerable { case generic case messages