mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-28 12:23:31 +01:00
Normalize i18n() calls to prepare for ICU migration
This commit is contained in:
@@ -60,9 +60,10 @@ describe('NativeThemeListener', () => {
|
||||
|
||||
const listener = createNativeThemeListener(ipc, holder);
|
||||
|
||||
ipc.emit('native-theme:changed', null, <NativeThemeState>{
|
||||
const state: NativeThemeState = {
|
||||
shouldUseDarkColors: false,
|
||||
});
|
||||
};
|
||||
ipc.emit('native-theme:changed', null, state);
|
||||
|
||||
assert.strictEqual(holder.systemTheme, 'light');
|
||||
assert.strictEqual(listener.getSystemTheme(), 'light');
|
||||
@@ -80,8 +81,9 @@ describe('NativeThemeListener', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
ipc.emit('native-theme:changed', null, <NativeThemeState>{
|
||||
const state: NativeThemeState = {
|
||||
shouldUseDarkColors: false,
|
||||
});
|
||||
};
|
||||
ipc.emit('native-theme:changed', null, state);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user