Make images link to themselves

This commit is contained in:
M66B
2018-11-24 12:27:44 +01:00
parent 2a04594b0d
commit 37981b0ac3
2 changed files with 14 additions and 1 deletions

View File

@@ -701,7 +701,7 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
@Override
public Drawable getDrawable(String source) {
float scale = context.getResources().getDisplayMetrics().density;
int px = (int) (24 * scale + 0.5f);
int px = (int) (48 * scale + 0.5f);
if (source != null && source.startsWith("cid")) {
String[] cids = source.split(":");