mirror of
https://github.com/status-im/status-react.git
synced 2025-01-09 18:46:19 +00:00
e40e495e11
Some more changes Changes Fix review items Rename init-settings to restore-native-settings Restore application name (thanks @churik !) Remove org name/domain setting for desktop Change organization name to include domain Re-use default values in :desktop/desktop Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
18 lines
345 B
JavaScript
18 lines
345 B
JavaScript
'use strict';
|
|
|
|
const NativeModules = require('react-native').NativeModules;
|
|
|
|
class DesktopConfig {
|
|
|
|
static getValue(name, callbackFn) {
|
|
NativeModules.DesktopConfigManager.getValue(name, callbackFn);
|
|
}
|
|
|
|
static setValue(name, value) {
|
|
NativeModules.DesktopConfigManager.setValue(name, value);
|
|
|
|
}
|
|
}
|
|
|
|
module.exports = DesktopConfig;
|