Browse Source

Fix buttons

qortal-ui-dev
AlphaX-Projects 1 year ago
parent
commit
11d38ca911
  1. 1
      qortal-ui-core/src/components/app-view.js
  2. 7
      qortal-ui-core/src/components/check-for-update.js
  3. 6
      qortal-ui-core/src/components/settings-view/notifications-view.js

1
qortal-ui-core/src/components/app-view.js

@ -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>

7
qortal-ui-core/src/components/check-for-update.js

@ -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``
}
}

6
qortal-ui-core/src/components/settings-view/notifications-view.js

@ -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``
}
}

Loading…
Cancel
Save