mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-21 23:36:17 -04:00
Remove connection-hash from UI for now
This commit is contained in:
parent
713929d581
commit
f27ecf1541
2 changed files with 2 additions and 11 deletions
|
@ -436,14 +436,12 @@ class PeerUI {
|
|||
<div class="name font-subheading"></div>
|
||||
<div class="device-name font-body2"></div>
|
||||
<div class="status font-body2"></div>
|
||||
<div class="connection-hash font-body2" dir="ltr" title="${ Localization.getTranslation("peer-ui.connection-hash") }"></div>
|
||||
</div>
|
||||
</label>`;
|
||||
|
||||
this.$el.querySelector('svg use').setAttribute('xlink:href', this._icon());
|
||||
this.$el.querySelector('.name').textContent = this._displayName();
|
||||
this.$el.querySelector('.device-name').textContent = this._deviceName();
|
||||
this.$el.querySelector('.connection-hash').textContent = this._connectionHash;
|
||||
}
|
||||
|
||||
addTypesToClassList() {
|
||||
|
@ -1852,8 +1850,8 @@ class SendTextDialog extends Dialog {
|
|||
to: this.correspondingPeerId,
|
||||
text: this.$text.innerText
|
||||
});
|
||||
this.$text.innerText = "";
|
||||
this.hide();
|
||||
setTimeout(() => this.$text.innerText = "", 300);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue