Use AppPlatform for releases

This commit is contained in:
Scott E. Graves
2019-06-05 17:35:03 -05:00
parent b655310298
commit 59c4e37f74

View File

@@ -153,7 +153,7 @@ class App extends IPCContainer {
}; };
grabReleases = () => { grabReleases = () => {
if (this.props.Platform !== 'unknown') { if (this.props.AppPlatform !== 'unknown') {
this.sendRequest(Constants.IPC_Grab_Releases); this.sendRequest(Constants.IPC_Grab_Releases);
this.sendRequest(Constants.IPC_Grab_UI_Releases); this.sendRequest(Constants.IPC_Grab_UI_Releases);
} }
@@ -522,7 +522,7 @@ class App extends IPCContainer {
}; };
updateCheckScheduledJob = () => { updateCheckScheduledJob = () => {
if (this.props.Platform !== 'unknown') { if (this.props.AppPlatform !== 'unknown') {
this.grabReleases(); this.grabReleases();
} }
}; };