mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 23:16:13 -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>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
</header>
|
</header>
|
||||||
|
<div id="displayName" class="font-body2"></div>
|
||||||
<!-- Peers -->
|
<!-- Peers -->
|
||||||
<x-peers class="center"></x-peers>
|
<x-peers class="center"></x-peers>
|
||||||
<x-no-peers>
|
<x-no-peers>
|
||||||
|
@ -61,7 +62,6 @@
|
||||||
<svg class="icon logo">
|
<svg class="icon logo">
|
||||||
<use xlink:href="#wifi-tethering" />
|
<use xlink:href="#wifi-tethering" />
|
||||||
</svg>
|
</svg>
|
||||||
<div id="displayName" class="font-body2">[ ... ]</div>
|
|
||||||
<div>The easiest way to transfer data across devices.</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>
|
<div class="font-body2">Allow me to be discovered by: Everyone in this network.</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -495,7 +495,7 @@ class Snapdrop {
|
||||||
|
|
||||||
// set display name
|
// set display name
|
||||||
Events.on('displayName', e => {
|
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