Commit 623408af authored by 消失的旅人's avatar 消失的旅人

modify isEmulator method implement

parent b5acdbab
......@@ -150,7 +150,7 @@ RCT_EXPORT_MODULE()
- (bool) isEmulator
{
return self.deviceName == @"Simulator";
return [self.deviceName isEqual: @"Simulator"];
}
- (NSDictionary *)constantsToExport
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment