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