We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c78d160 commit b785aaeCopy full SHA for b785aae
Mission/ContentView.swift
@@ -69,8 +69,10 @@ struct ContentView: View {
69
let password = keychain[store.host!.name!]
70
let auth = TransmissionAuth(username: store.host!.username!, password: password!)
71
getDefaultDownloadDir(config: config, auth: auth, onResponse: { downloadDir in
72
- store.defaultDownloadDir = downloadDir
73
- self.downloadDir = store.defaultDownloadDir
+ DispatchQueue.main.async {
+ store.defaultDownloadDir = downloadDir
74
+ self.downloadDir = store.defaultDownloadDir
75
+ }
76
})
77
updateList(store: store, host: store.host!, update: { vals in
78
DispatchQueue.main.async {
0 commit comments