From 0fdf2677a9d01123b4d0a30ad10f717f972c6749 Mon Sep 17 00:00:00 2001 From: Dominik Guzei Date: Wed, 4 Sep 2019 16:29:27 +0200 Subject: Add locale to todos config --- src/features/todos/store.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/features/todos') diff --git a/src/features/todos/store.js b/src/features/todos/store.js index bb1df9415..242b38bf7 100644 --- a/src/features/todos/store.js +++ b/src/features/todos/store.js @@ -124,11 +124,13 @@ export default class TodoStore extends FeatureStore { _onTodosClientInitialized = () => { const { authToken } = this.stores.user; const { isDarkThemeActive } = this.stores.ui; + const { locale } = this.stores.app; if (!this.webview) return; this.webview.send(IPC.TODOS_HOST_CHANNEL, { action: 'todos:configure', data: { authToken, + locale, theme: isDarkThemeActive ? ThemeType.dark : ThemeType.default, }, }); -- cgit v1.2.3-54-g00ecf