mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Hide Uptime from wrist feed
This commit is contained in:
+12
-1
@@ -11217,6 +11217,9 @@ speechSynthesis.getVoices();
|
|||||||
$app.data.hideCpuUsageFromFeed = configRepository.getBool(
|
$app.data.hideCpuUsageFromFeed = configRepository.getBool(
|
||||||
'VRCX_hideCpuUsageFromFeed'
|
'VRCX_hideCpuUsageFromFeed'
|
||||||
);
|
);
|
||||||
|
$app.data.hideUptimeFromFeed = configRepository.getBool(
|
||||||
|
'VRCX_hideUptimeFromFeed'
|
||||||
|
);
|
||||||
$app.data.overlayNotifications = configRepository.getBool(
|
$app.data.overlayNotifications = configRepository.getBool(
|
||||||
'VRCX_overlayNotifications'
|
'VRCX_overlayNotifications'
|
||||||
);
|
);
|
||||||
@@ -11305,6 +11308,10 @@ speechSynthesis.getVoices();
|
|||||||
'VRCX_hideCpuUsageFromFeed',
|
'VRCX_hideCpuUsageFromFeed',
|
||||||
this.hideCpuUsageFromFeed
|
this.hideCpuUsageFromFeed
|
||||||
);
|
);
|
||||||
|
configRepository.setBool(
|
||||||
|
'VRCX_hideUptimeFromFeed',
|
||||||
|
this.hideUptimeFromFeed
|
||||||
|
);
|
||||||
configRepository.setBool(
|
configRepository.setBool(
|
||||||
'VRCX_overlayNotifications',
|
'VRCX_overlayNotifications',
|
||||||
this.overlayNotifications
|
this.overlayNotifications
|
||||||
@@ -11842,6 +11849,10 @@ speechSynthesis.getVoices();
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
var onlineFor = '';
|
||||||
|
if (!this.hideUptimeFromFeed) {
|
||||||
|
onlineFor = API.currentUser.$online_for;
|
||||||
|
}
|
||||||
var lastLocation = {
|
var lastLocation = {
|
||||||
date: this.lastLocation.date,
|
date: this.lastLocation.date,
|
||||||
location: this.lastLocation.location,
|
location: this.lastLocation.location,
|
||||||
@@ -11849,7 +11860,7 @@ speechSynthesis.getVoices();
|
|||||||
playerList: Array.from(this.lastLocation.playerList.values()),
|
playerList: Array.from(this.lastLocation.playerList.values()),
|
||||||
friendList: Array.from(this.lastLocation.friendList.values()),
|
friendList: Array.from(this.lastLocation.friendList.values()),
|
||||||
progressPie,
|
progressPie,
|
||||||
onlineFor: API.currentUser.$online_for
|
onlineFor
|
||||||
};
|
};
|
||||||
var json = JSON.stringify(lastLocation);
|
var json = JSON.stringify(lastLocation);
|
||||||
AppApi.ExecuteVrFeedFunction('lastLocationUpdate', json);
|
AppApi.ExecuteVrFeedFunction('lastLocationUpdate', json);
|
||||||
|
|||||||
@@ -1072,6 +1072,9 @@ html
|
|||||||
div.options-container-item
|
div.options-container-item
|
||||||
span.name Hide CPU Usage
|
span.name Hide CPU Usage
|
||||||
el-switch(v-model="hideCpuUsageFromFeed" @change="saveOpenVROption" :disabled="!openVR || !overlayWrist")
|
el-switch(v-model="hideCpuUsageFromFeed" @change="saveOpenVROption" :disabled="!openVR || !overlayWrist")
|
||||||
|
div.options-container-item
|
||||||
|
span.name Hide Uptime
|
||||||
|
el-switch(v-model="hideUptimeFromFeed" @change="saveOpenVROption" :disabled="!openVR || !overlayWrist")
|
||||||
div.options-container-item
|
div.options-container-item
|
||||||
el-button(size="small" icon="el-icon-notebook-2" @click="showWristFeedFiltersDialog" :disabled="!openVR || !overlayWrist") Wrist Feed Filters
|
el-button(size="small" icon="el-icon-notebook-2" @click="showWristFeedFiltersDialog" :disabled="!openVR || !overlayWrist") Wrist Feed Filters
|
||||||
br
|
br
|
||||||
|
|||||||
Reference in New Issue
Block a user