Apply review: move thumbnail loading out of Player

This commit is contained in:
Stypox 2021-06-07 11:24:13 +02:00
parent c338150d90
commit 12ad678d14
4 changed files with 85 additions and 79 deletions

View file

@ -104,7 +104,7 @@ public class App extends MultiDexApplication {
PicassoHelper.init(this);
PicassoHelper.setShouldLoadImages(
prefs.getBoolean(getString(R.string.download_thumbnail_key), true));
PicassoHelper.setIndicatorsEnabled(BuildConfig.DEBUG
PicassoHelper.setIndicatorsEnabled(MainActivity.DEBUG
&& prefs.getBoolean(getString(R.string.show_image_indicators_key), false));
configureRxJavaErrorHandler();