Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions StikJIT/Views/HomeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ struct HomeView: View {
}
.disabled(isProcessing || isValidatingPairingFile)

if pairingFileExists && enableAdvancedOptions && !pairingFileLikelyInvalid {
if pairingFileExists && enableAdvancedOptions && !pairingFileLikelyInvalid && primaryActionTitle == "Connect by App" {
Button(action: { showPIDSheet = true }) {
secondaryButtonLabel(icon: "number.circle", title: "Connect by PID")
}
Expand Down Expand Up @@ -462,7 +462,7 @@ struct HomeView: View {
if !ddiMounted {
return .init(
title: "Mount the Developer Disk Image",
subtitle: "",
subtitle: "Connect to Wi-Fi and force-restart StikDebug.",
icon: "externaldrive.badge.exclamationmark",
tint: .yellow
)
Expand Down Expand Up @@ -566,7 +566,7 @@ struct HomeView: View {
? "Mounted successfully."
: (pairingFileLikelyInvalid
? "The Developer Disk Image can’t mount because the pairing file looks invalid. Create a new pairing file."
: ""),
: "The Developer Disk Image isn't mounted."),
status: ddiMounted ? .ready : .attention,
actionTitle: pairingFileLikelyInvalid ? "Import New" : nil,
action: pairingFileLikelyInvalid ? { isShowingPairingFilePicker = true } : nil
Expand Down Expand Up @@ -894,7 +894,7 @@ struct HomeView: View {
tipRow(systemImage: "doc.badge.plus", title: "Pairing file required", message: "Import your device’s pairing file to begin.")
}
if pairingFileExists && !ddiMounted {
tipRow(systemImage: "externaldrive.badge.exclamationmark", title: "Developer Disk Image not mounted", message: "Go to Settings → Developer Disk Image and ensure it’s mounted.")
tipRow(systemImage: "externaldrive.badge.exclamationmark", title: "Developer Disk Image not mounted", message: "Ensure your pairing is imported and valid, connect to Wi-Fi and force-restart StikDebug.")
}
tipRow(systemImage: "lock.shield", title: "Local only", message: "StikDebug runs entirely on-device. No data leaves your device.")

Expand Down
2 changes: 1 addition & 1 deletion StikJIT/es.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Click connect to get started" = "Haz clic en conectar para comenzar";
"Pick pairing file to get started" = "Selecciona el archivo de emparejamiento para comenzar";
"Device Not Mounted" = "Dispositivo no montado";
"The Developer Disk Image has not been mounted yet. Check in settings for more information." = "La imagen de desarrollo no se ha montado todav\u00eda. Consulta la configuraci\u00f3n para obtener m\u00e1s informaci\u00f3n.";
"The Developer Disk Image has not been mounted yet. Check in settings for more information." = "La imagen del disco del desarrollador a\u00fan no se ha montado. Con\u00e9ctese a la red Wi‑Fi y fuerce el reinicio de StikDebug.";
"Connect by App" = "Conectar por app";
"Select Pairing File" = "Seleccionar archivo de emparejamiento";
"Connect by PID" = "Conectar por PID";
Expand Down