Move getDefaultDeviceName into the Platforms

So we can have a sensible device name on Electron
This commit is contained in:
David Baker 2016-11-24 16:46:15 +00:00
parent 47534decb3
commit c786980454
4 changed files with 49 additions and 15 deletions

View file

@ -39,4 +39,12 @@ export default class VectorBasePlatform extends BasePlatform {
*/
installUpdate() {
}
/**
* Get a sensible default display name for the
* device Vector is running on
*/
getDefaultDeviceDisplayName() {
return "Unknown device";
}
}