Skip to content

Commit

Permalink
Replace deprecated InputSwitch with ToggleSwitch (#1861)
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei authored Dec 11, 2024
1 parent ac6130a commit b486198
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/install/DesktopSettingsConfiguration.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{{ $t('install.settings.autoUpdateDescription') }}
</p>
</div>
<InputSwitch v-model="autoUpdate" />
<ToggleSwitch v-model="autoUpdate" />
</div>

<Divider />
Expand All @@ -43,7 +43,7 @@
{{ $t('install.settings.learnMoreAboutData') }}
</a>
</div>
<InputSwitch v-model="allowMetrics" />
<ToggleSwitch v-model="allowMetrics" />
</div>
</div>

Expand Down Expand Up @@ -98,7 +98,7 @@

<script setup lang="ts">
import { ref } from 'vue'
import InputSwitch from 'primevue/inputswitch'
import ToggleSwitch from 'primevue/toggleswitch'
import Dialog from 'primevue/dialog'
import Divider from 'primevue/divider'
Expand Down

0 comments on commit b486198

Please sign in to comment.