mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 14:23:51 +02:00
Small fixes and changes
This commit is contained in:
@@ -476,7 +476,7 @@ speechSynthesis.getVoices();
|
||||
status === 401 &&
|
||||
data.error.message === '"Missing Credentials"'
|
||||
) {
|
||||
if (endpoint.substring(0, 9) === 'auth/user') {
|
||||
if (endpoint === 'auth/user') {
|
||||
this.$emit('AUTOLOGIN');
|
||||
}
|
||||
throw new Error('401: Missing Credentials');
|
||||
@@ -10006,7 +10006,7 @@ speechSynthesis.getVoices();
|
||||
this.feedTable.loading = true;
|
||||
var vipList = [];
|
||||
if (this.feedTable.vip) {
|
||||
vipList = this.getUserVipList();
|
||||
vipList = Array.from(this.localFavoriteFriends.values());
|
||||
}
|
||||
this.feedTable.data = await database.lookupFeedDatabase(
|
||||
this.feedTable.search,
|
||||
@@ -10016,16 +10016,6 @@ speechSynthesis.getVoices();
|
||||
this.feedTable.loading = false;
|
||||
};
|
||||
|
||||
$app.methods.getUserVipList = function () {
|
||||
var vipList = [];
|
||||
API.cachedFavorites.forEach((favorite) => {
|
||||
if (favorite.type === 'friend') {
|
||||
vipList.push(favorite.favoriteId);
|
||||
}
|
||||
});
|
||||
return vipList;
|
||||
};
|
||||
|
||||
API.$on('LOGIN', async function (args) {
|
||||
$app.friendLog = new Map();
|
||||
$app.feedTable.data = [];
|
||||
|
||||
@@ -429,9 +429,10 @@
|
||||
"avatar_database_provider": "Avatar Database Provider"
|
||||
},
|
||||
"youtube_api": {
|
||||
"header": "Youtube API",
|
||||
"header": "YouTube API",
|
||||
"enable": "Enable",
|
||||
"youtube_api_key": "Youtube API Key"
|
||||
"youtube_api_key": "YouTube API Key",
|
||||
"enable_tooltip": "Fetches video titles for use with gameLog and duration for overlay progress bar"
|
||||
},
|
||||
"video_progress_pie": {
|
||||
"header": "Progress pie overlay for videos",
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 28.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1"
|
||||
id="svg1" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg1" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512"
|
||||
style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
||||
<g id="Layer_4">
|
||||
<path d="M273.2,0c41.5,103.3,38.3,200.8-18.5,257.6C198.4,313.9,102.3,317.6,0,277.3V512h512V0H273.2z"/>
|
||||
<path d="M0,0v238.8c103.3-41.5,200.8-38.3,257.6,18.5c56.3,56.3,59.9,152.5,19.6,254.7H512V0H0z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 651 B After Width: | Height: | Size: 645 B |
@@ -487,6 +487,8 @@ mixin settingsTab()
|
||||
span.header {{ $t('view.settings.advanced.advanced.youtube_api.header') }}
|
||||
div.options-container-item
|
||||
span.name {{ $t('view.settings.advanced.advanced.youtube_api.enable') }}
|
||||
el-tooltip(placement="top" style="margin-left:5px" :content="$t('view.settings.advanced.advanced.youtube_api.enable_tooltip')")
|
||||
i.el-icon-info
|
||||
el-switch(v-model="youTubeApi" @change="changeYouTubeApi")
|
||||
div.options-container-item
|
||||
el-button(size="small" icon="el-icon-caret-right" @click="showYouTubeApiDialog") {{ $t('view.settings.advanced.advanced.youtube_api.youtube_api_key') }}
|
||||
|
||||
Reference in New Issue
Block a user