diff --git a/renderer/app.js b/renderer/app.js index 0532508..1acf60f 100644 --- a/renderer/app.js +++ b/renderer/app.js @@ -7835,10 +7835,20 @@ async function flushPendingSettingsSaves() { alwaysOnTopState = !!(config.globalSettings && config.globalSettings.alwaysOnTop); } +function infoTipHtml(text) { + return ``; +} + function _buildHosterSettingsHtml(name) { const hs = (config.hosterSettings && config.hosterSettings[name]) || {}; const maxSpeedMbs = hs.maxSpeedKbs > 0 ? String(+(hs.maxSpeedKbs / 1024).toFixed(2)) : '0'; const fieldPrefix = `hoster-${name.replace(/[^a-z0-9]/gi, '-')}`; + const row = (id, label, control, info = '') => `
+
${info ? infoTipHtml(info) : ''}
+ ${control} +
`; + const number = (id, key, value, attributes) => ``; + const checkbox = (id, key, checked) => ``; return `