commit 695d00bd978561a93e88038d6a5f013921b472c6
parent d89a92b217fc5d99e8a45e8e69203b1100da1345
Author: Paul Szymanski <519954+PaulSzymanski@users.noreply.github.com>
Date: Sun, 12 Jul 2020 14:51:58 +0200
Change unique name layout
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/client/index.html b/client/index.html
@@ -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>
diff --git a/client/scripts/ui.js b/client/scripts/ui.js
@@ -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;
});
}
}