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