make Analytics use new method for finding Platform name, now human friendly :D

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2017-05-29 19:52:00 +01:00
parent d484372c7f
commit 4c607091d4
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class Analytics {
this._paq.push(['enableLinkTracking', true]);
const platform = PlatformPeg.get();
this._setVisitVariable('App Platform', platform.constructor.name);
this._setVisitVariable('App Platform', platform.getHumanReadableName());
platform.getAppVersion().then((version) => {
this._setVisitVariable('App Version', version);
}).catch(() => {