diff --git a/YuMi/Global/YUMIMacroUitls.h b/YuMi/Global/YUMIMacroUitls.h index aadbab40..07562e17 100644 --- a/YuMi/Global/YUMIMacroUitls.h +++ b/YuMi/Global/YUMIMacroUitls.h @@ -49,7 +49,7 @@ isPhoneXSeries = [[UIApplication sharedApplication] delegate].window.safeAreaIns - +#define PI_App_Version @"2.0.7" #ifdef DEBUG #define API_HOST_URL [NSString stringWithFormat:@"%@%@",@"http://beta.api",@".pekolive.com"] diff --git a/YuMi/Modules/YMMine/View/Setting/XPMineAboutUsViewController.m b/YuMi/Modules/YMMine/View/Setting/XPMineAboutUsViewController.m index ea357bb6..4bdf0307 100644 --- a/YuMi/Modules/YMMine/View/Setting/XPMineAboutUsViewController.m +++ b/YuMi/Modules/YMMine/View/Setting/XPMineAboutUsViewController.m @@ -77,7 +77,7 @@ _versionLabel = [[UILabel alloc] init]; _versionLabel.font = [UIFont systemFontOfSize:12]; _versionLabel.textColor = [DJDKMIMOMColor mainTextColor]; - _versionLabel.text = [NSString stringWithFormat:@"V%@",[YYUtility appVersion]]; + _versionLabel.text = [NSString stringWithFormat:@"V%@",PI_App_Version]; } return _versionLabel; }