Adds Disable Private Session button to menubar when Private Session is enabled.

This shortcut is not only a good addition but it can also be used as an indicator to show private session is turned on. Works flawlessly too.

Thank you!
This commit is contained in:
Monochromish 2022-04-08 04:09:42 +10:00
parent a29ea26493
commit 75768071c6

View file

@ -105,6 +105,11 @@
{{$root.getLz('app.name')}}
</div>
</button>
<button class="usermenu-item" v-if="cfg.general.privateEnabled"
@click="cfg.general.privateEnabled = false">
<span class="usermenu-item-icon"><%- include("../svg/x.svg") %></span>
<span class="usermenu-item-name">{{$root.getLz('term.disable')}} {{$root.getLz('term.privateSession')}}</span>
</button>
<button class="usermenu-item" @click="appRoute('remote-pair')">
<span class="usermenu-item-icon"><%- include("../svg/smartphone.svg") %></span>
<span class="usermenu-item-name">{{$root.getLz('action.showWebRemoteQR')}}</span>