aboutsummaryrefslogtreecommitdiff
path: root/features/streamsGUI
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-11-23 21:21:56 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-11-23 21:21:56 +0800
commit38b52c027450cb4c26d62a3beb5822c6c607e8c2 (patch)
treed1edf41d0aea845f763a48d2a1258b06d9c7b40a /features/streamsGUI
parent5139209b268a6f34b2fa65b3963f451a4e316ce6 (diff)
downloadSoopyV2-38b52c027450cb4c26d62a3beb5822c6c607e8c2.tar.gz
SoopyV2-38b52c027450cb4c26d62a3beb5822c6c607e8c2.tar.bz2
SoopyV2-38b52c027450cb4c26d62a3beb5822c6c607e8c2.zip
Add basic performance tracking, will make this a dedicated gui sometime
Diffstat (limited to 'features/streamsGUI')
-rw-r--r--features/streamsGUI/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/streamsGUI/index.js b/features/streamsGUI/index.js
index 2cd2a4f..aaf5ab7 100644
--- a/features/streamsGUI/index.js
+++ b/features/streamsGUI/index.js
@@ -122,7 +122,7 @@ class StreamElement extends SoopyBoxElement {
this.titleElement.setText(stream.title)
- this.channelElement.setText((twitch ? "§0"+stream.user_name : "§0"+stream.channelTitle) + (twitch?"&7 - " + stream.viewer_count + " viewers":""))
+ this.channelElement.setText((twitch ? "§0"+stream.user_name : "§0"+stream.channelTitle) + (twitch?"&7 - " + stream.viewer_count + " viewer"+(stream.viewer_count!==1?"s":""):""))
this.channelImg.setImage(twitch ? `https://static-cdn.jtvnw.net/previews-ttv/live_user_${stream.user_login}-640x360.jpg` : stream.thumbnails.high.url)