mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-23 16:26:17 -04:00
Change unique name layout
This commit is contained in:
parent
d89a92b217
commit
695d00bd97
2 changed files with 2 additions and 2 deletions
|
@ -50,6 +50,7 @@
|
|||
</svg>
|
||||
</a>
|
||||
</header>
|
||||
<div id="displayName" class="font-body2"></div>
|
||||
<!-- Peers -->
|
||||
<x-peers class="center"></x-peers>
|
||||
<x-no-peers>
|
||||
|
@ -61,7 +62,6 @@
|
|||
<svg class="icon logo">
|
||||
<use xlink:href="#wifi-tethering" />
|
||||
</svg>
|
||||
<div id="displayName" class="font-body2">[ ... ]</div>
|
||||
<div>The easiest way to transfer data across devices.</div>
|
||||
<div class="font-body2">Allow me to be discovered by: Everyone in this network.</div>
|
||||
</footer>
|
||||
|
|
|
@ -495,7 +495,7 @@ class Snapdrop {
|
|||
|
||||
// set display name
|
||||
Events.on('displayName', e => {
|
||||
$("displayName").textContent = "[ " + e.detail.message + " ]";
|
||||
$("displayName").textContent = "You are known as " + e.detail.message;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue