mirror of https://github.com/keeweb/keeweb.git
Only display titlebar style setting on macOS
This commit is contained in:
parent
978c9e06ce
commit
ff65ef6cc6
|
@ -82,7 +82,10 @@ const SettingsGeneralView = Backbone.View.extend({
|
|||
const updateFound = UpdateModel.instance.get('updateStatus') === 'found';
|
||||
const updateManual = UpdateModel.instance.get('updateManual');
|
||||
const storageProviders = this.getStorageProviders();
|
||||
const platform = (typeof process !== 'undefined') ? process.platform : 'web';
|
||||
|
||||
this.renderTemplate({
|
||||
platform: platform,
|
||||
themes: this.allThemes,
|
||||
activeTheme: AppSettingsModel.instance.get('theme'),
|
||||
locales: this.allLocales,
|
||||
|
|
|
@ -64,6 +64,7 @@
|
|||
<option value="2" {{#ifeq fontSize 2}}selected{{/ifeq}}>{{res 'setGenFontSizeLargest'}}</option>
|
||||
</select>
|
||||
</div>
|
||||
{{#ifeq platform 'darwin'}}
|
||||
<div>
|
||||
<label for="settings__general-titlebar-style">{{res 'setGenTitlebarStyle'}}:</label>
|
||||
<select class="settings__general-titlebar-style settings__select input-base" id="settings__general-titlebar-style">
|
||||
|
@ -72,6 +73,7 @@
|
|||
<option value="hidden-inset" {{#ifeq titlebarStyle 'hidden-inset'}}selected{{/ifeq}}>{{res 'setGenTitlebarStyleHiddenInset'}}</option>
|
||||
</select>
|
||||
</div>
|
||||
{{/ifeq}}
|
||||
<div>
|
||||
<input type="checkbox" class="settings__input input-base settings__general-expand" id="settings__general-expand" {{#if expandGroups}}checked{{/if}} />
|
||||
<label for="settings__general-expand">{{res 'setGenShowSubgroups'}}</label>
|
||||
|
|
Loading…
Reference in New Issue