Wrist online friend counter

This commit is contained in:
Natsumi
2022-01-01 00:15:14 +13:00
parent 92f8500d31
commit 88c696c3e2
3 changed files with 28 additions and 1 deletions

View File

@@ -185,6 +185,7 @@ Vue.component('marquee-text', MarqueeText);
config: {},
downloadProgress: 0,
photonLobbyBotSize: 0,
onlineFriendCount: 0,
nowPlaying: {
url: '',
name: '',
@@ -308,6 +309,10 @@ Vue.component('marquee-text', MarqueeText);
this.photonLobbyBotSize = parseInt(size, 10);
};
$app.methods.updateOnlineFriendCount = function (count) {
this.onlineFriendCount = parseInt(count, 10);
};
$app.methods.nowPlayingUpdate = function (json) {
this.nowPlaying = JSON.parse(json);
if (this.appType === '2') {