From 4638541634f138f6047a713bd53c95b2b321d994 Mon Sep 17 00:00:00 2001 From: Lukas Schaefer Date: Thu, 29 Jan 2026 11:55:01 -0500 Subject: [PATCH] Uses new checkbox component Signed-off-by: Lukas Schaefer --- src/components/AdminSettings.vue | 16 +++++++++------- src/components/PersonalSettings.vue | 16 ++++++++-------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/src/components/AdminSettings.vue b/src/components/AdminSettings.vue index e35d6977..e26ed5dc 100644 --- a/src/components/AdminSettings.vue +++ b/src/components/AdminSettings.vue @@ -56,11 +56,13 @@ @input="onInput" @focus="readonly = false"> - - {{ t('integration_google', 'Use a pop-up to authenticate') }} - +
+ + {{ t('integration_google', 'Use a pop-up to authenticate') }} + +
@@ -76,7 +78,7 @@ import { generateUrl } from '@nextcloud/router' import axios from '@nextcloud/axios' import { delay } from '../utils.js' import { showSuccess, showError } from '@nextcloud/dialogs' -import NcCheckboxRadioSwitch from '@nextcloud/vue/components/NcCheckboxRadioSwitch' +import NcFormSwitch from '@nextcloud/vue/components/NcFormBoxSwitch' import { confirmPassword } from '@nextcloud/password-confirmation' export default { @@ -84,7 +86,7 @@ export default { components: { GoogleIcon, - NcCheckboxRadioSwitch, + NcFormSwitch, KeyOutlineIcon, InformationOutlineIcon, }, diff --git a/src/components/PersonalSettings.vue b/src/components/PersonalSettings.vue index f2701fbe..1b16bfa4 100644 --- a/src/components/PersonalSettings.vue +++ b/src/components/PersonalSettings.vue @@ -32,11 +32,11 @@ id="google-contacts">

{{ t('integration_google', 'Contacts') }}

- {{ t('integration_google', 'Include other contacts') }} - +

{{ t('integration_google', 'Calendars') }}

- {{ t('integration_google', 'Import all events including Birthdays') }} - +