mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
[ReactNative] s/RK/RCT in OSS
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
var NativeModules = require('NativeModules');
|
||||
var RCTDeviceEventEmitter = require('RCTDeviceEventEmitter');
|
||||
var RKAppState = NativeModules.RKAppState;
|
||||
var RCTAppState = NativeModules.RCTAppState;
|
||||
|
||||
var logError = require('logError');
|
||||
|
||||
@@ -45,7 +45,7 @@ RCTDeviceEventEmitter.addListener(
|
||||
}
|
||||
);
|
||||
|
||||
RKAppState.getCurrentAppState(
|
||||
RCTAppState.getCurrentAppState(
|
||||
(appStateData) => {
|
||||
AppStateIOS.currentState = appStateData.app_state;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user