mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Fix some layout issues to improve readability
This commit is contained in:
parent
ff1d2546dc
commit
fb6dd8fac8
1 changed files with 6 additions and 3 deletions
|
|
@ -16,12 +16,12 @@ struct SignInPhoneListView: View {
|
|||
List(phoneNumbers, selection: $selectedPhoneNumberID) {
|
||||
Text($0.numberWithDialCode)
|
||||
}
|
||||
.frame(height: 200)
|
||||
} else {
|
||||
AttributedText(
|
||||
NSAttributedString(string: "Your account doesn't have any trusted phone numbers, but they're required for two-factor authentication. See https://support.apple.com/en-ca/HT204915.")
|
||||
NSAttributedString(string: "Your account doesn't have any trusted phone numbers, but they're required for two-factor authentication.\n\nSee https://support.apple.com/en-ca/HT204915.")
|
||||
.convertingURLsToLinkAttributes()
|
||||
)
|
||||
Spacer()
|
||||
}
|
||||
|
||||
HStack {
|
||||
|
|
@ -42,6 +42,7 @@ struct SignInPhoneListView: View {
|
|||
}
|
||||
.frame(height: 25)
|
||||
}
|
||||
.frame(width: 400, height: 200)
|
||||
.padding()
|
||||
}
|
||||
}
|
||||
|
|
@ -57,7 +58,8 @@ struct SignInPhoneListView_Previews: PreviewProvider {
|
|||
securityCode: .init(length: 6)),
|
||||
sessionData: AppleSessionData(serviceKey: "", sessionID: "", scnt: "")
|
||||
)
|
||||
|
||||
.environmentObject(AppState())
|
||||
|
||||
SignInPhoneListView(
|
||||
isPresented: .constant(true),
|
||||
authOptions: AuthOptionsResponse(
|
||||
|
|
@ -66,6 +68,7 @@ struct SignInPhoneListView_Previews: PreviewProvider {
|
|||
securityCode: .init(length: 6)),
|
||||
sessionData: AppleSessionData(serviceKey: "", sessionID: "", scnt: "")
|
||||
)
|
||||
.environmentObject(AppState())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue