Small code improvements

Removed some non-translatable strings and just hardcoded them in the code, like it's being done for other string separators. This also deduplicates some code by using Localization.
Used some Kotlin feature to reduce code.
This commit is contained in:
Stypox 2022-02-23 19:45:49 +01:00
parent a4f3b3b105
commit 2a4add2571
6 changed files with 18 additions and 32 deletions

View file

@ -81,10 +81,6 @@ public final class PicassoHelper {
picassoInstance.cancelTag(tag);
}
public static void cancelRequest(final Target target) {
picassoInstance.cancelRequest(target);
}
public static void setIndicatorsEnabled(final boolean enabled) {
picassoInstance.setIndicatorsEnabled(enabled); // useful for debugging
}