commit 5f3f49a53dfc0d44b357393797c31bd282076936
parent acf1d3b024f2cd783bd8714a0c5095f900ccddb8
Author: Katja (ctucx) <git@ctu.cx>
Date: Wed, 29 Jan 2025 18:29:39 +0100
parent acf1d3b024f2cd783bd8714a0c5095f900ccddb8
Author: Katja (ctucx) <git@ctu.cx>
Date: Wed, 29 Jan 2025 18:29:39 +0100
settings: set `showVia` to false
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/overlays.js b/src/overlays.js @@ -1,4 +1,4 @@ -import { ElementById, showElement, hideElement, setThemeColor, queryBackgroundColor } from './helpers.js'; +import { ElementById, showElement, hideElement } from './helpers.js'; import { html, render } from 'lit-html'; const overlayElement = ElementById('overlay'); @@ -13,7 +13,6 @@ export const showAlertModal = (text) => { </div> `, overlayElement); ElementById('alertButton').focus(); - setThemeColor(queryBackgroundColor('#overlay')); }); }; @@ -28,7 +27,6 @@ export const showSelectModal = (items) => { <a class="button color" @click=${() => { hideOverlay(); resolve(); }}>Close</a> </div> `, overlayElement); - setThemeColor(queryBackgroundColor('#overlay')); }); }; @@ -44,7 +42,6 @@ export const showModal = (title, content) => { <div class="body">${content}</div> </div> `, overlayElement); - setThemeColor(queryBackgroundColor('#overlay')); }); }; @@ -55,7 +52,6 @@ export const showLoader = () => { <div class="spinner"></div> </div> `, overlayElement); - setThemeColor(queryBackgroundColor('#overlay')); }; export const hideOverlay = () => hideElement(overlayElement);
diff --git a/src/settings.js b/src/settings.js @@ -28,7 +28,7 @@ const defaultSettings = { combineDateTime: false, showPrices: true, showDS100: true, - showVia: true, + showVia: false, }; const subscribers = [];