Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

build:
name: CI/CD
runs-on: macos-latest
runs-on: macos-15 # is not the macos-latest, which should be by the end of August 2025

steps:
- name: Checkout
Expand Down
8 changes: 2 additions & 6 deletions GenericApp/GenericApp/UI/WizardDomainViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ extension WizardDomainViewController: UITextFieldDelegate {
}

fileprivate func requestAppConfig(_ domain: String) {
async {
Task.init {
do {
configManager = ConfigManager(apiManagerFactory: { url in
try HttpApiManager(baseUrl: url)
HttpApiManager(baseUrl: url)
Comment thread
wborn marked this conversation as resolved.
})

let state = try await configManager!.setDomain(domain: domain)
Expand All @@ -124,10 +124,6 @@ extension WizardDomainViewController: UITextFieldDelegate {
case.complete:
self.performSegue(withIdentifier: Segues.goToWebView, sender: self)
}
Comment thread
wborn marked this conversation as resolved.
} catch ApiManagerError.invalidUrl {
let alertView = UIAlertController(title: "Error", message: "Invalid domain.\nCheck your input and try again.", preferredStyle: .alert)
alertView.addAction(UIAlertAction(title: "OK", style: .default, handler: nil))
self.present(alertView, animated: true, completion: nil)
} catch {
let alertView = UIAlertController(title: "Error", message: "Error occurred getting app config.\nCheck your input and try again.", preferredStyle: .alert)
alertView.addAction(UIAlertAction(title: "OK", style: .default, handler: nil))
Expand Down