code formatting

This commit is contained in:
pypy
2020-10-25 16:11:17 +09:00
parent bf8c8b7461
commit d44f97de9d
2 changed files with 9 additions and 9 deletions

View File

@@ -3432,8 +3432,8 @@ CefSharp.BindObjectAsync(
var ctx = data[--i];
// GPS, Online, Offline, Status, Avatar
if ((ctx.type !== 'Avatar') &&
!((ctx.type === 'GPS') && (ctx.location[0] === 'private') && (this.hidePrivateFromFeed === true)) &&
!(((ctx.type === 'Online') || (ctx.type === 'Offline')) && (this.hideLoginsFromFeed === true))) {
!((ctx.type === 'GPS') && (ctx.location[0] === 'private') && (this.hidePrivateFromFeed === true)) &&
!(((ctx.type === 'Online') || (ctx.type === 'Offline')) && (this.hideLoginsFromFeed === true))) {
arr.push({
...ctx,
isFriend: this.friends.has(ctx.userId),

View File

@@ -665,15 +665,15 @@ CefSharp.BindObjectAsync(
this.cpuUsage = cpuUsage.toFixed(2);
});
if (VRCXStorage.GetBool('VRCX_hideDevicesFromFeed') === false) {
VRCX.GetVRDevices().then((devices) => {
devices.forEach((device) => {
device[2] = parseInt(device[2], 10);
});
this.devices = devices;
});
VRCX.GetVRDevices().then((devices) => {
devices.forEach((device) => {
device[2] = parseInt(device[2], 10);
});
this.devices = devices;
});
}
else {
this.devices = "";
this.devices = '';
}
this.updateSharedFeed();
};