You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Fix the vector web version in UserSettings
Add a getAppVersion() function to the platform rather than relying on the updater code firing an event before we know what the app version is.
This commit is contained in:
@@ -65,4 +65,12 @@ export default class BasePlatform {
|
||||
|
||||
displayNotification(title: string, msg: string, avatarUrl: string) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a promise that resolves to a string representing
|
||||
* the current version of the application.
|
||||
*/
|
||||
getAppVersion() {
|
||||
return q();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user