This commit is contained in:
Bart Louwers
2023-06-27 12:47:38 +02:00
committed by GitHub
parent 76e4b02e8e
commit 0cc65337fa
2 changed files with 3 additions and 1 deletions

View File

@@ -180,7 +180,7 @@ public class BitmapUtils {
@Nullable
public static Drawable getDrawableFromRes(@NonNull Context context, @DrawableRes int drawableRes,
@Nullable @ColorInt Integer tintColor) {
Drawable drawable = context.getResources().getDrawable(drawableRes);
Drawable drawable = context.getDrawable(drawableRes);
if (drawable == null) {
return null;
}