We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6385430 + 36a9bd2 commit c85b3c2Copy full SHA for c85b3c2
1 file changed
Xcodes/Frontend/SignIn/SignInPhoneListView.swift
@@ -16,6 +16,11 @@ struct SignInPhoneListView: View {
16
List(phoneNumbers, selection: $selectedPhoneNumberID) {
17
Text($0.numberWithDialCode)
18
}
19
+ .onAppear {
20
+ if phoneNumbers.count == 1 {
21
+ selectedPhoneNumberID = phoneNumbers.first?.id
22
+ }
23
24
} else {
25
AttributedText(
26
NSAttributedString(string: localizeString("NoTrustedPhones"))
0 commit comments