Still set desired height

This commit is contained in:
Jacocococo 2024-02-12 21:20:50 +01:00 committed by LucasGGamerM
parent 2021c335ac
commit c26df5762f
2 changed files with 2 additions and 2 deletions

View File

@ -58,6 +58,6 @@ public class CustomEmojiSpan extends ReplacementSpan{
}
public UrlImageLoaderRequest createImageLoaderRequest(){
return new UrlImageLoaderRequest(GlobalUserPreferences.playGifs ? emoji.url : emoji.staticUrl);
return new UrlImageLoaderRequest(GlobalUserPreferences.playGifs ? emoji.url : emoji.staticUrl, 0, V.dp(20));
}
}

View File

@ -434,7 +434,7 @@ public class UiUtils {
public View getView() {
return view;
}
}, null, new UrlImageLoaderRequest(emoji.getKey().url), null, false, true);
}, null, new UrlImageLoaderRequest(emoji.getKey().url, 0, V.dp(20)), null, false, true);
}
}