Moved the new version check to the application class.
This commit is contained in:
parent
7c875a8541
commit
06f20c66f8
3 changed files with 6 additions and 4 deletions
|
|
@ -99,6 +99,11 @@ public class App extends Application {
|
|||
ImageLoader.getInstance().init(getImageLoaderConfigurations(10, 50));
|
||||
|
||||
configureRxJavaErrorHandler();
|
||||
|
||||
// Check for new version
|
||||
if (BuildConfig.FLAVOR.equals("github")) {
|
||||
new FetchAppVersionTask().execute();
|
||||
}
|
||||
}
|
||||
|
||||
protected Downloader getDownloader() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue