nit
This commit is contained in:
+2
-2
@@ -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())
|
userDefaults?.setValue(count, forKey: type.toKeyName())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
enum BadgeCountType : String, Enumerable {
|
enum BadgeType : String, Enumerable {
|
||||||
case generic
|
case generic
|
||||||
case messages
|
case messages
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user