mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
code formatting
This commit is contained in:
@@ -3432,8 +3432,8 @@ CefSharp.BindObjectAsync(
|
|||||||
var ctx = data[--i];
|
var ctx = data[--i];
|
||||||
// GPS, Online, Offline, Status, Avatar
|
// GPS, Online, Offline, Status, Avatar
|
||||||
if ((ctx.type !== 'Avatar') &&
|
if ((ctx.type !== 'Avatar') &&
|
||||||
!((ctx.type === 'GPS') && (ctx.location[0] === 'private') && (this.hidePrivateFromFeed === true)) &&
|
!((ctx.type === 'GPS') && (ctx.location[0] === 'private') && (this.hidePrivateFromFeed === true)) &&
|
||||||
!(((ctx.type === 'Online') || (ctx.type === 'Offline')) && (this.hideLoginsFromFeed === true))) {
|
!(((ctx.type === 'Online') || (ctx.type === 'Offline')) && (this.hideLoginsFromFeed === true))) {
|
||||||
arr.push({
|
arr.push({
|
||||||
...ctx,
|
...ctx,
|
||||||
isFriend: this.friends.has(ctx.userId),
|
isFriend: this.friends.has(ctx.userId),
|
||||||
|
|||||||
@@ -665,15 +665,15 @@ CefSharp.BindObjectAsync(
|
|||||||
this.cpuUsage = cpuUsage.toFixed(2);
|
this.cpuUsage = cpuUsage.toFixed(2);
|
||||||
});
|
});
|
||||||
if (VRCXStorage.GetBool('VRCX_hideDevicesFromFeed') === false) {
|
if (VRCXStorage.GetBool('VRCX_hideDevicesFromFeed') === false) {
|
||||||
VRCX.GetVRDevices().then((devices) => {
|
VRCX.GetVRDevices().then((devices) => {
|
||||||
devices.forEach((device) => {
|
devices.forEach((device) => {
|
||||||
device[2] = parseInt(device[2], 10);
|
device[2] = parseInt(device[2], 10);
|
||||||
});
|
});
|
||||||
this.devices = devices;
|
this.devices = devices;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this.devices = "";
|
this.devices = '';
|
||||||
}
|
}
|
||||||
this.updateSharedFeed();
|
this.updateSharedFeed();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user