From 150fdc8bc1d8d3672914ce2f27b60d37694bf535 Mon Sep 17 00:00:00 2001
From: Paul Szymanski <519954+PaulSzymanski@users.noreply.github.com>
Date: Mon, 13 Jul 2020 23:56:58 +0200
Subject: [PATCH] Change layout of peer name and remove unneccessary text
---
client/index.html | 3 +--
server/index.js | 4 ++--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/client/index.html b/client/index.html
index a4869b9..4617392 100644
--- a/client/index.html
+++ b/client/index.html
@@ -50,7 +50,6 @@
-
@@ -62,7 +61,7 @@
- The easiest way to transfer data across devices.
+ The easiest way to transfer data across devices.
Allow me to be discovered by: Everyone in this network.
diff --git a/server/index.js b/server/index.js
index cb63d70..4e5e6a5 100644
--- a/server/index.js
+++ b/server/index.js
@@ -1,5 +1,5 @@
const parser = require('ua-parser-js');
-const { uniqueNamesGenerator, animals, adjectives } = require('unique-names-generator');
+const { uniqueNamesGenerator, animals, colors } = require('unique-names-generator');
class SnapdropServer {
@@ -192,7 +192,7 @@ class Peer {
os: ua.os.name,
browser: ua.browser.name,
type: ua.device.type,
- displayName: uniqueNamesGenerator({ length: 2, separator: ' ', dictionaries: [adjectives, animals], style: 'capital' })
+ displayName: uniqueNamesGenerator({ length: 2, separator: ' ', dictionaries: [colors, animals], style: 'capital' })
};
}