[mobile] fix bug 57796
This commit is contained in:
parent
7a9876b22a
commit
e42018745a
|
@ -128,7 +128,7 @@ const PageAbout = props => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const About = inject("storeAppOptions")(observer(PageAbout));
|
const About = inject("storeAppOptions")(observer(PageAbout));
|
||||||
About.appVersion = () => (__PRODUCT_VERSION__);
|
About.appVersion = () => (__PRODUCT_VERSION__).match(/\d+.\d+.\d+/)[0]; // skip build number
|
||||||
About.compareVersions = () => /d$/.test(__PRODUCT_VERSION__);
|
About.compareVersions = () => /d$/.test(__PRODUCT_VERSION__);
|
||||||
About.developVersion = () => /(?:d|debug)$/.test(__PRODUCT_VERSION__);
|
About.developVersion = () => /(?:d|debug)$/.test(__PRODUCT_VERSION__);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue