mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-05-19 11:34:57 +08:00
var {Platform}
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
var Platform = require("react-native").Platform;
|
||||
var { Platform } = require("react-native");
|
||||
var Alert;
|
||||
|
||||
if (Platform.OS === "android") {
|
||||
|
||||
Reference in New Issue
Block a user