mirror of
https://github.com/RobinLinus/snapdrop.git
synced 2025-05-28 21:40:11 -07:00
Change unique name layout
This commit is contained in:
parent
d89a92b217
commit
695d00bd97
@ -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…
x
Reference in New Issue
Block a user