mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Move left pane entirely to React
This commit is contained in:
@@ -11,6 +11,10 @@ const localeMessages = ipcRenderer.sendSync('locale-data');
|
||||
window.theme = config.theme;
|
||||
window.i18n = i18n.setup(locale, localeMessages);
|
||||
|
||||
window.getEnvironment = () => config.environment;
|
||||
window.getVersion = () => config.version;
|
||||
window.getAppInstance = () => config.appInstance;
|
||||
|
||||
// So far we're only using this for Signal.Types
|
||||
const Signal = require('./js/modules/signal');
|
||||
|
||||
@@ -20,10 +24,6 @@ window.Signal = Signal.setup({
|
||||
getRegionCode: () => null,
|
||||
});
|
||||
|
||||
window.getEnvironment = () => config.environment;
|
||||
window.getVersion = () => config.version;
|
||||
window.getAppInstance = () => config.appInstance;
|
||||
|
||||
window.closeSettings = () => ipcRenderer.send('close-settings');
|
||||
|
||||
window.getDeviceName = makeGetter('device-name');
|
||||
|
||||
Reference in New Issue
Block a user