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