This commit is contained in:
pypy
2020-11-01 13:09:00 +09:00
parent b9b1960059
commit 06106a8291
2 changed files with 4 additions and 2 deletions

View File

@@ -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');

View File

@@ -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