Browse Source

fixes

q-apps
Phillip Lang Martinez 2 years ago
parent
commit
ddedbad20b
  1. 17
      qortal-ui-plugins/plugins/core/components/ChatPage.js
  2. 2
      qortal-ui-plugins/plugins/core/messaging/q-chat/q-chat.src.js

17
qortal-ui-plugins/plugins/core/components/ChatPage.js

@ -361,6 +361,23 @@ class ChatPage extends LitElement {
border-radius: 25%; border-radius: 25%;
} }
paper-dialog.warning {
width: 50%;
max-width: 50vw;
height: 30%;
max-height: 30vh;
text-align: center;
background-color: var(--white);
color: var(--black);
border: 1px solid var(--black);
border-radius: 15px;
line-height: 1.6;
overflow-y: auto;
}
.buttons {
text-align:right;
}
.dialogCustom { .dialogCustom {
position: fixed; position: fixed;
z-index: 10000; z-index: 10000;

2
qortal-ui-plugins/plugins/core/messaging/q-chat/q-chat.src.js

@ -545,7 +545,7 @@ class Chat extends LitElement {
}; };
const _computePow = async (chatBytes) => { const _computePow = async (chatBytes) => {
const difficulty = this.balance === 0 ? 12 : 8; const difficulty = this.balance < 4 ? 18 : 8
const path = window.parent.location.origin + '/memory-pow/memory-pow.wasm.full'; const path = window.parent.location.origin + '/memory-pow/memory-pow.wasm.full';
const worker = new WebWorker(); const worker = new WebWorker();
let nonce = null; let nonce = null;

Loading…
Cancel
Save