Apply review: move thumbnail loading out of Player

This commit is contained in:
Stypox 2021-06-07 11:24:13 +02:00
parent c0664c1cb6
commit 6eaff5ca6a
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
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();