4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-14 11:15:50 +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>&nbsp;&nbsp;</div>
<check-for-update></check-for-update>
<div>&nbsp;&nbsp;</div>
<div style="display: inline;">
<paper-icon-button icon="icons:exit-to-app" @click=${() => this.openLogout()} title="${translate("logout.logout")}"></paper-icon-button>
</div>

View File

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

View File

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