Pre-release versions toggle

This commit is contained in:
2025-10-19 16:35:30 +01:00
parent acb728b60f
commit 2b742cbeb7
2 changed files with 7 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import {IonButton, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonInput} from "@ionic/vue";
import {IonButton, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonInput, IonToggle} from "@ionic/vue";
const emit = defineEmits<{(e: "disconnect"): void, (e: "back"): void}>();
@@ -28,9 +28,13 @@ const back = () => {
</ion-card-header>
<ion-card-content>
<ion-input label="Source" placeholder="https://git.example.com/user/repo"></ion-input>
<ion-input label="Source" placeholder="https://git.example.com/user/repo/releases.rss"></ion-input>
<ion-button>Set source</ion-button>
<br>
<br>
<ion-toggle>Allow pre-release versions</ion-toggle>
<br>
<br>
<ion-button @click="back">Back</ion-button>
</ion-card-content>
</ion-card>

View File

@@ -43,7 +43,7 @@ const showArchive = () => {
const goBack = () => {
shownCard.value = prevCard;
prevCard = 0;
prevCard = 1;
}
const showDetails = () => {