We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ece739b commit e2607f2Copy full SHA for e2607f2
1 file changed
InfiniLink/View Components/Home View/HomeScreen.swift
@@ -106,11 +106,9 @@ struct HomeScreen: View {
106
Text("")
107
}
108
109
- .onChange(of: downloadManager.downloading) { _ in
110
- if !downloadManager.downloading {
111
- if downloadManager.updateAvailable {
112
- self.updateAvailable = true
113
- }
+ .onChange(of: downloadManager.updateAvailable) { _ in
+ if downloadManager.updateAvailable {
+ self.updateAvailable = true
114
115
116
0 commit comments