mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-10 18:33:51 +02:00
code formatting
This commit is contained in:
@@ -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),
|
||||
|
||||
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user