4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-15 19:55:49 +00:00

Fix buttons

This commit is contained in:
AlphaX-Projects 2023-05-08 10:19:23 +02:00
parent 981ec74f49
commit 11d38ca911
3 changed files with 7 additions and 7 deletions

View File

@ -489,6 +489,7 @@ class AppView extends connect(store)(LitElement) {
</div> </div>
<div>&nbsp;&nbsp;</div> <div>&nbsp;&nbsp;</div>
<check-for-update></check-for-update> <check-for-update></check-for-update>
<div>&nbsp;&nbsp;</div>
<div style="display: inline;"> <div style="display: inline;">
<paper-icon-button icon="icons:exit-to-app" @click=${() => this.openLogout()} title="${translate("logout.logout")}"></paper-icon-button> <paper-icon-button icon="icons:exit-to-app" @click=${() => this.openLogout()} title="${translate("logout.logout")}"></paper-icon-button>
</div> </div>

View File

@ -32,15 +32,14 @@ class CheckForUpdate extends LitElement {
} }
renderUpdateButton() { renderUpdateButton() {
if (!isElectron) { if (!isElectron()) {
return html``
} else {
return html` return html`
<div style="display: inline;"> <div style="display: inline;">
<paper-icon-button icon="icons:get-app" @click=${() => this.checkupdate()} title="${translate("appspage.schange38")} UI"></paper-icon-button> <paper-icon-button icon="icons:get-app" @click=${() => this.checkupdate()} title="${translate("appspage.schange38")} UI"></paper-icon-button>
</div> </div>
<div>&nbsp;&nbsp;</div>
` `
} else {
return html``
} }
} }

View File

@ -152,14 +152,14 @@ class NotificationsView extends connect(store)(LitElement) {
} }
renderSetCoreButton() { renderSetCoreButton() {
if (!isElectron) { if (!isElectron()) {
return html``
} else {
return html` return html`
<div style="max-width: 500px; display: flex; justify-content: center; margin: auto;"> <div style="max-width: 500px; display: flex; justify-content: center; margin: auto;">
<div @click=${() => this.checkCoreSettings()} class="q-button"> ${translate("settings.core")} </div> <div @click=${() => this.checkCoreSettings()} class="q-button"> ${translate("settings.core")} </div>
</div> </div>
` `
} else {
return html``
} }
} }