alloc change
This commit is contained in:
parent
f5dd13dcb0
commit
c910ca09d3
@ -132,7 +132,7 @@ RCT_EXPORT_MODULE(RCTHotUpdate);
|
|||||||
{
|
{
|
||||||
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
|
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
|
||||||
|
|
||||||
NSMutableDictionary *ret = [@{} mutableCopy];
|
NSMutableDictionary *ret = [NSMutableDictionary new];
|
||||||
ret[@"downloadRootDir"] = [RCTHotUpdate downloadDir];
|
ret[@"downloadRootDir"] = [RCTHotUpdate downloadDir];
|
||||||
ret[@"packageVersion"] = [RCTHotUpdate packageVersion];
|
ret[@"packageVersion"] = [RCTHotUpdate packageVersion];
|
||||||
ret[@"isRolledBack"] = [defaults objectForKey:keyRolledBackMarked];
|
ret[@"isRolledBack"] = [defaults objectForKey:keyRolledBackMarked];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user