From e42018745a0f880d72749dc7d8c06a1f79c832a2 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Fri, 24 Jun 2022 22:09:02 +0300 Subject: [PATCH] [mobile] fix bug 57796 --- apps/common/mobile/lib/view/About.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/mobile/lib/view/About.jsx b/apps/common/mobile/lib/view/About.jsx index 237a4dcab..8ba3d0484 100644 --- a/apps/common/mobile/lib/view/About.jsx +++ b/apps/common/mobile/lib/view/About.jsx @@ -128,7 +128,7 @@ const PageAbout = props => { }; 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.developVersion = () => /(?:d|debug)$/.test(__PRODUCT_VERSION__);