This commit is contained in:
Hailey
2024-06-10 08:34:26 -07:00
parent 7dad1c280b
commit 458005445f
@@ -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