Debug only

This commit is contained in:
M66B 2022-03-04 10:30:13 +01:00
parent 12d7a615de
commit 782c1a14fe
1 changed files with 13 additions and 11 deletions

View File

@ -158,18 +158,20 @@ public class AdapterImage extends RecyclerView.Adapter<AdapterImage.ViewHolder>
if (width > 0 && height > 0) if (width > 0 && height > 0)
sb.append(width).append(" \u00d7 ").append(height); sb.append(width).append(" \u00d7 ").append(height);
String color = args.getString("color"); if (BuildConfig.DEBUG) {
if (color != null) { String color = args.getString("color");
if (sb.length() > 0) if (color != null) {
sb.append(' '); if (sb.length() > 0)
sb.append(color); sb.append(' ');
} sb.append(color);
}
String config = args.getString("config"); String config = args.getString("config");
if (config != null) { if (config != null) {
if (sb.length() > 0) if (sb.length() > 0)
sb.append(' '); sb.append(' ');
sb.append(config); sb.append(config);
}
} }
long size = args.getLong("size"); long size = args.getLong("size");