diff --git a/app/src/main/java/com/bonait/bnframework/modules/mine/fragment/MyFragment.java b/app/src/main/java/com/bonait/bnframework/modules/mine/fragment/MyFragment.java index 8299d337..ad33a2f8 100644 --- a/app/src/main/java/com/bonait/bnframework/modules/mine/fragment/MyFragment.java +++ b/app/src/main/java/com/bonait/bnframework/modules/mine/fragment/MyFragment.java @@ -18,6 +18,7 @@ import android.view.View; import android.widget.ImageView; import android.widget.TextView; +import com.allen.library.BuildConfig; import com.allen.library.SuperTextView; import com.bonait.bnframework.R; import com.bonait.bnframework.business.ConfigData; @@ -129,7 +130,7 @@ public class MyFragment extends BaseFragment { } private void initView() { initData(ConfigName.getInstance().user); - stvUpdate.setRightString(ConfigName.getInstance().Version+"|"+ ExecuteTheRecipe.PlcVersion); + stvUpdate.setRightString(BuildConfig.VERSION_NAME+""); ExecuteTheRecipe.NotifyVersionNumUpdates=new IRun() { @Override