File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -161,11 +161,11 @@ class LoginFindSchoolViewController: UIViewController {
161
161
162
162
func replaceRootDomain( urlString: String , newRootDomain: String ) -> String ? {
163
163
let urlWithScheme = " https:// \( urlString) "
164
-
164
+
165
165
guard let url = URL ( string: urlWithScheme) else {
166
166
return nil
167
167
}
168
-
168
+
169
169
// Try to extract host, fallback to raw string if needed
170
170
let host = url. host ?? urlString
171
171
let parts = host. components ( separatedBy: " . " )
@@ -185,7 +185,6 @@ class LoginFindSchoolViewController: UIViewController {
185
185
return newHost
186
186
}
187
187
188
-
189
188
private func toggleNextButtonVisibility( ) {
190
189
if let host = searchField. text? . trimmingCharacters ( in: . whitespacesAndNewlines) , !host. isEmpty {
191
190
nextButton. accessibilityIdentifier = " nextButton "
You can’t perform that action at this time.
0 commit comments