Always show settings button in status bar (not just in web app)

This commit is contained in:
Jonatan Heyman 2024-01-12 14:38:57 +01:00
parent 15ee6b9194
commit e292fab449

View File

@ -24,7 +24,7 @@
data() {
return {
showSettingsButton: window.heynote.isWebApp,
}
},
@ -96,17 +96,16 @@
:autoUpdate="autoUpdate"
:allowBetaVersions="allowBetaVersions"
/>
<div class="status-block theme clickable" @click="$emit('toggleTheme')" title="Toggle dark/light mode">
<span :class="'icon ' + themeSetting"></span>
</div>
<div
v-if="showSettingsButton"
@click="$emit('openSettings')"
class="status-block settings clickable"
title="Settings"
>
<span class="icon icon-format"></span>
</div>
<div class="status-block theme clickable" @click="$emit('toggleTheme')" title="Toggle dark/light mode">
<span :class="'icon ' + themeSetting"></span>
</div>
</div>
</template>