patch
This commit is contained in:
parent
4442dfc821
commit
1269a29ae8
@ -63,7 +63,9 @@ final class AppUpdateChecker: ObservableObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func openAppStore() {
|
func openAppStore() {
|
||||||
guard let url = forceUpdateNotice?.appStoreURL ?? softUpdateNotice?.appStoreURL else {
|
guard let url = needUpdateNotice?.appStoreURL
|
||||||
|
?? forceUpdateNotice?.appStoreURL
|
||||||
|
?? softUpdateNotice?.appStoreURL else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -105,6 +107,7 @@ final class AppUpdateChecker: ObservableObject {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
needUpdateNotice = nil
|
||||||
forceUpdateNotice = nil
|
forceUpdateNotice = nil
|
||||||
softUpdateNotice = nil
|
softUpdateNotice = nil
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user