mirror of
https://github.com/heyman/heynote.git
synced 2024-11-28 10:54:22 +01:00
Always show settings button in status bar (not just in web app)
This commit is contained in:
parent
15ee6b9194
commit
e292fab449
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user