fix(SwiftUI onboarding): make pairing file text wrap, only show full onboarding if SwiftUI unstable feature is enabled

also update anisette servers
This commit is contained in:
naturecodevoid
2023-06-03 12:40:47 -07:00
parent 7e9aafe86e
commit e7f766095a
7 changed files with 34 additions and 7 deletions

View File

@@ -10,7 +10,6 @@ import SwiftUI
struct OnboardingStepView<Title: View, Hero: View, Content: View, Action: View>: View {
@ViewBuilder
var title: Title

View File

@@ -108,7 +108,7 @@ struct OnboardingView: View {
Text("SideStore supports on-device sideloading even on non-jailbroken devices.")
Text("For it to work, you have to generate a pairing file as described [here in our documentation](https://wiki.sidestore.io/guides/install#pairing-process).")
Text("Once you have the `<UUID>.mobiledevicepairing`, import it using the button below.")
}
}.lineLimit(nil)
}, action: {
ModalNavigationLink("Select Pairing File") {
DocumentPicker(selectedUrl: self.$pairingFileURL,
@@ -117,6 +117,7 @@ struct OnboardingView: View {
.buttonStyle(FilledButtonStyle())
.onChange(of: self.pairingFileURL) { newValue in
guard let url = newValue else {
// TODO: show error that nothing was selected
return
}