mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-17 21:46:09 +08:00
alloc change
This commit is contained in:
@@ -132,7 +132,7 @@ RCT_EXPORT_MODULE(RCTHotUpdate);
|
||||
{
|
||||
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
|
||||
|
||||
NSMutableDictionary *ret = [@{} mutableCopy];
|
||||
NSMutableDictionary *ret = [NSMutableDictionary new];
|
||||
ret[@"downloadRootDir"] = [RCTHotUpdate downloadDir];
|
||||
ret[@"packageVersion"] = [RCTHotUpdate packageVersion];
|
||||
ret[@"isRolledBack"] = [defaults objectForKey:keyRolledBackMarked];
|
||||
|
Reference in New Issue
Block a user