Commit a37482dd by 段启岩

检查新版本改为mvvm实现

parent dd0bb333
......@@ -42,7 +42,7 @@ public class AppViewModel extends ViewModel {
public AppViewModel(Context context, IAppRepository appRepository) {
this.mContext = context;
this.appRepository = appRepository;
currentVersion = VersionUtils.getCurrentVersion(context);
currentVersion = VersionUtils.getCurrentVersion(mContext);
hasNewVersion.setValue(false);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment