Skip to content

Commit 4f36089

Browse files
committed
Fix #4 - add requiresMainQueueSetup method for iOS
1 parent ca67244 commit 4f36089

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ios/RNHourFormat.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,9 @@ - (NSDictionary *)constantsToExport
4646
@"HOUR_FORMAT" : ([self getHourFormat]) };
4747
}
4848

49+
+ (BOOL)requiresMainQueueSetup
50+
{
51+
return YES;
52+
}
53+
4954
@end

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-hour-format",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "Get time format used in user device",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)