Use AppPlatform for releases
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user