fix default emoji font icon not rendering
This commit is contained in:
parent
b8ef287b47
commit
1eef035a9e
2 changed files with 3 additions and 2 deletions
|
@ -8,6 +8,7 @@ import android.util.Pair;
|
|||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.core.content.ContextCompat;
|
||||
|
||||
import com.keylesspalace.tusky.R;
|
||||
|
||||
|
@ -144,7 +145,7 @@ public class EmojiCompatFont {
|
|||
}
|
||||
|
||||
public Drawable getThumb(Context context) {
|
||||
return context.getResources().getDrawable(img);
|
||||
return ContextCompat.getDrawable(context, img);
|
||||
}
|
||||
|
||||
public String getVersion() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue