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:
parent
884ae0e218
commit
d44adcb7a9
3 changed files with 21 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue