You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
first iter of manual update control
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@ -127,6 +127,7 @@ module.exports = React.createClass({
|
||||
newVersion: null,
|
||||
hasNewVersion: false,
|
||||
newVersionReleaseNotes: null,
|
||||
checkingForUpdate: false,
|
||||
|
||||
// The username to default to when upgrading an account from a guest
|
||||
upgradeUsername: null,
|
||||
@ -527,6 +528,9 @@ module.exports = React.createClass({
|
||||
payload.releaseNotes,
|
||||
);
|
||||
break;
|
||||
case 'check_updates':
|
||||
this.setState({ checkingForUpdate: payload.value });
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
@ -1107,6 +1111,7 @@ module.exports = React.createClass({
|
||||
newVersion: latest,
|
||||
hasNewVersion: current !== latest,
|
||||
newVersionReleaseNotes: releaseNotes,
|
||||
checkingForUpdate: false,
|
||||
});
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user