mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-16 20:30:30 +00:00
Fix mount popup
This commit is contained in:
parent
c5011654a2
commit
179ac964ab
1 changed files with 7 additions and 6 deletions
|
|
@ -53,16 +53,17 @@ struct HomeView: View {
|
|||
// Main action button - changes based on whether we have a pairing file
|
||||
Button(action: {
|
||||
|
||||
if !isMounted() {
|
||||
showAlert(title: "Device Not Mounted", message: "The Developer Disk Image has not been mounted yet. Check in settings for more information.", showOk: true) { cool in
|
||||
// No Need
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if pairingFileExists {
|
||||
// Got a pairing file, show apps
|
||||
isShowingInstalledApps = true
|
||||
|
||||
if !isMounted() {
|
||||
showAlert(title: "Device Not Mounted", message: "The Developer Disk Image has not been mounted yet. Check in settings for more information.", showOk: true) { cool in
|
||||
// No Need
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
// No pairing file yet, let's get one
|
||||
isShowingPairingFilePicker = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue