mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 14:23:51 +02:00
Fixes
This commit is contained in:
@@ -143,12 +143,18 @@ async function checkVRChatCache(ref) {
|
||||
return { Item1: -1, Item2: false, Item3: '' };
|
||||
}
|
||||
|
||||
return AssetBundleManager.CheckVRChatCache(
|
||||
id,
|
||||
version,
|
||||
variant,
|
||||
variantVersion
|
||||
);
|
||||
try {
|
||||
return AssetBundleManager.CheckVRChatCache(
|
||||
id,
|
||||
version,
|
||||
variant,
|
||||
variantVersion
|
||||
);
|
||||
} catch (err) {
|
||||
console.error('Failed reading VRChat cache size:', err);
|
||||
toast.error(`Failed reading VRChat cache size: ${err}`);
|
||||
return { Item1: -1, Item2: false, Item3: '' };
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -961,7 +961,7 @@ export const useNotificationStore = defineStore('Notification', () => {
|
||||
fileId,
|
||||
fileVersion
|
||||
);
|
||||
} else if (imageUrl) {
|
||||
} else if (imageUrl && imageUrl.startsWith('http')) {
|
||||
fileVersion = imageUrl.split('/').pop(); // 1416226261.thumbnail-500.png
|
||||
fileId = fileVersion.split('.').shift(); // 1416226261
|
||||
imageLocation = await AppApi.GetImage(
|
||||
|
||||
@@ -211,7 +211,7 @@ export const useAppearanceSettingsStore = defineStore(
|
||||
JSON.stringify(TRUST_COLOR_DEFAULTS)
|
||||
),
|
||||
configRepository.getBool('VRCX_notificationIconDot', true),
|
||||
configRepository.getBool('VRCX_navIsCollapsed', true),
|
||||
configRepository.getBool('VRCX_navIsCollapsed', false),
|
||||
configRepository.getBool('VRCX_dataTableStriped', false),
|
||||
configRepository.getBool('VRCX_showPointerOnHover', false),
|
||||
configRepository.getString(
|
||||
|
||||
@@ -296,6 +296,7 @@
|
||||
<EditInviteMessageDialog
|
||||
v-model:isEditInviteMessagesDialogVisible="isEditInviteMessagesDialogVisible"
|
||||
@close="isEditInviteMessagesDialogVisible = false" />
|
||||
<RegistryBackupDialog />
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
@@ -332,6 +333,7 @@
|
||||
const ExportDiscordNamesDialog = defineAsyncComponent(() => import('./dialogs/ExportDiscordNamesDialog.vue'));
|
||||
const ExportFriendsListDialog = defineAsyncComponent(() => import('./dialogs/ExportFriendsListDialog.vue'));
|
||||
const ExportAvatarsListDialog = defineAsyncComponent(() => import('./dialogs/ExportAvatarsListDialog.vue'));
|
||||
const RegistryBackupDialog = defineAsyncComponent(() => import('../Settings/dialogs/RegistryBackupDialog.vue'));
|
||||
|
||||
const { t } = useI18n();
|
||||
const router = useRouter();
|
||||
|
||||
Reference in New Issue
Block a user