From 51ace1cb985080a8d323b1db88dbcf4b9b5f24f6 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Tue, 17 Aug 2021 11:08:51 +0530 Subject: refactor: pull in code-cleanup changes in the recipes submodule. --- recipes | 2 +- src/webview/recipe.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes b/recipes index cf8156d5f..212d58464 160000 --- a/recipes +++ b/recipes @@ -1 +1 @@ -Subproject commit cf8156d5fdf47e90458ee182b58879d184777d92 +Subproject commit 212d5846427ceeacfadf5aac3f381b532f4664a1 diff --git a/src/webview/recipe.js b/src/webview/recipe.js index a45c34002..f88b94cfe 100644 --- a/src/webview/recipe.js +++ b/src/webview/recipe.js @@ -101,7 +101,7 @@ window.open = (url, frameName, features) => { contextBridge.exposeInMainWorld('ferdi', { open: window.open, setBadge: (direct, indirect) => - badgeHandler.setBadge(direct || 0, indirect || 0), + badgeHandler.setBadge(direct, indirect), displayNotification: (title, options) => notificationsHandler.displayNotification(title, options), getDisplayMediaSelector, -- cgit v1.2.3-70-g09d2