From 06106a8291d9be3799799d7193a0187ff92a91a0 Mon Sep 17 00:00:00 2001 From: pypy Date: Sun, 1 Nov 2020 13:09:00 +0900 Subject: [PATCH] bugfix --- html/src/vr.js | 4 +++- html/src/vr.pug | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/html/src/vr.js b/html/src/vr.js index cbf4312b..5a3c322c 100644 --- a/html/src/vr.js +++ b/html/src/vr.js @@ -621,7 +621,8 @@ CefSharp.BindObjectAsync( currentTime: new Date().toJSON(), cpuUsage: 0, feeds: [], - devices: [] + devices: [], + isMinimalFeed: false, }, computed: {}, methods: {}, @@ -679,6 +680,7 @@ CefSharp.BindObjectAsync( }; $app.methods.updateSharedFeed = function () { + this.isMinimalFeed = VRCXStorage.GetBool('VRCX_minimalFeed'); // TODO: block mute hideAvatar unfriend var _feeds = this.feeds; this.feeds = VRCXStorage.GetArray('sharedFeeds'); diff --git a/html/src/vr.pug b/html/src/vr.pug index 556c5801..a0d941fa 100644 --- a/html/src/vr.pug +++ b/html/src/vr.pug @@ -15,7 +15,7 @@ html .x-app#x-app(style="display:none" :class="{ 'x-app-type': appType === '1' }") .x-container(style="flex:1") .x-friend-list(ref="list" style="color:#aaa") - template(v-if="VRCXStorage.GetBool('VRCX_minimalFeed')") + template(v-if="isMinimalFeed === true") template(v-for="feed in feeds") .x-friend-item(v-if="feed.type === 'GPS'" :class="{ friend: feed.isFriend, favorite: feed.isFavorite }") .detail