mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-21 15:53:50 +02:00
Hide and force enable isCloseToTray option on macOS
This commit is contained in:
@@ -81,6 +81,7 @@
|
||||
:tooltip="t('view.settings.general.application.startup_linux')"
|
||||
@change="setIsStartAsMinimizedState" />
|
||||
<simple-switch
|
||||
v-if="!isMacOS"
|
||||
:label="t('view.settings.general.application.tray')"
|
||||
:value="isCloseToTray"
|
||||
@change="setIsCloseToTray" />
|
||||
@@ -364,6 +365,9 @@
|
||||
|
||||
const ossDialog = ref(false);
|
||||
const isLinux = computed(() => LINUX);
|
||||
const isMacOS = computed(() => {
|
||||
return navigator.platform.indexOf('Mac') > -1;
|
||||
});
|
||||
|
||||
const OpenSourceSoftwareNoticeDialog = defineAsyncComponent(
|
||||
() => import('../../dialogs/OpenSourceSoftwareNoticeDialog.vue')
|
||||
|
||||
Reference in New Issue
Block a user