diff --git a/src/modules/sync/hooks.ts b/src/modules/sync/hooks.ts index 8f5a3a7..25af051 100644 --- a/src/modules/sync/hooks.ts +++ b/src/modules/sync/hooks.ts @@ -7,8 +7,9 @@ export { setSyncing, callSyncing }; function setSyncing() { const syncPeriod = getPref("syncPeriodSeconds") as number; + const enableHint = addon.data.env === "development"; if (syncPeriod > 0) { - showHint(`${getString("sync.start.hint")} ${syncPeriod} s`); + enableHint && showHint(`${getString("sync.start.hint")} ${syncPeriod} s`); const timer = ztoolkit.getGlobal("setInterval")( () => { if (!addon.data.alive) {