fix - don't show update mode in web

This commit is contained in:
SPRINX0\prochazka
2025-12-02 17:59:41 +01:00
parent af5ae29b73
commit b40877fcc1

View File

@@ -14,13 +14,10 @@
const electron = getElectron();
let restartWarning = false;
</script>
<div class="wrapper">
<div class="wrapper">
<div class="heading">{_t('settings.application', { defaultMessage: 'Application' })}</div>
<FormFieldTemplateLarge
label={_t('settings.localization.language', { defaultMessage: 'Language' })}
type="combo"
>
<FormFieldTemplateLarge label={_t('settings.localization.language', { defaultMessage: 'Language' })} type="combo">
<SelectField
isNative
data-testid="SettingsModal_languageSelect"
@@ -51,9 +48,10 @@
},
});
}}
/>
/>
</FormFieldTemplateLarge>
{#if electron}
<FormSelectField
label={_t('settings.other.autoUpdateApplication', { defaultMessage: 'Auto update application' })}
name="app.autoUpdateMode"
@@ -78,11 +76,11 @@
},
]}
/>
{/if}
<div class="heading">{_t('settings.appearance', { defaultMessage: 'Appearance' })}</div>
{#if electron}
<FormCheckboxField
name="app.useNativeMenu"
label={isMac()
@@ -109,7 +107,6 @@
})}
defaultValue={false}
/>
</div>
<style>
@@ -120,8 +117,7 @@
margin-top: var(--dim-large-form-margin);
}
.wrapper :global(select){
.wrapper :global(select) {
max-width: 400px;
}
</style>