Check for RCTSettingsManager in Settings.ios
This commit is contained in:
parent
b4cd019f39
commit
7e70ee2e03
|
@ -19,7 +19,7 @@ var invariant = require('invariant');
|
|||
var subscriptions: Array<{keys: Array<string>; callback: ?Function}> = [];
|
||||
|
||||
var Settings = {
|
||||
_settings: RCTSettingsManager.settings,
|
||||
_settings: RCTSettingsManager && RCTSettingsManager.settings,
|
||||
|
||||
get(key: string): mixed {
|
||||
return this._settings[key];
|
||||
|
|
Loading…
Reference in New Issue