Remove change log debugging code

This commit is contained in:
Peter
2019-06-10 18:56:11 +01:00
parent 9e97905da4
commit ed0086310e

View File

@@ -22,10 +22,10 @@ func managedAppChangelog(postbox: Postbox, network: Network, stateManager: Accou
}
|> mapToSignal { appChangelogState -> Signal<Void, NoError> in
let appChangelogState = appChangelogState
if false, appChangelogState.checkedVersion == appVersion {
if appChangelogState.checkedVersion == appVersion {
return .complete()
}
let previousVersion = "5.6 (123)"//appChangelogState.previousVersion
let previousVersion = appChangelogState.previousVersion
return network.request(Api.functions.help.getAppChangelog(prevAppVersion: previousVersion))
|> map(Optional.init)
|> `catch` { _ -> Signal<Api.Updates?, NoError> in