From eb1c11bb8c55a3e8578eec6944c2cc06715fbaf1 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 17 Nov 2021 16:46:19 +0100 Subject: [PATCH] Use the same default for the device checker in the conversation settings Signed-off-by: Joas Schilling --- .../ConversationSettings/ConversationSettingsDialog.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ConversationSettings/ConversationSettingsDialog.vue b/src/components/ConversationSettings/ConversationSettingsDialog.vue index 4194125519c..37120ccf4aa 100644 --- a/src/components/ConversationSettings/ConversationSettingsDialog.vue +++ b/src/components/ConversationSettings/ConversationSettingsDialog.vue @@ -215,7 +215,8 @@ export default { /** * Get the deviceChecker value from the browserstorage. */ - this.showDeviceChecker = BrowserStorage.getItem('showDeviceChecker' + this.token) === 'true' + this.showDeviceChecker = BrowserStorage.getItem('showDeviceChecker' + this.token) === null + || BrowserStorage.getItem('showDeviceChecker' + this.token) === 'true' }, methods: {