mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-11 05:38:00 -05:00
Add context to message's render() method for importing drawables
This commit is contained in:
parent
4e97dd2295
commit
25020e3329
@ -30,6 +30,7 @@ import android.text.SpannableString;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.BaseAdapter;
|
||||
import android.widget.EditText;
|
||||
import android.widget.Gallery;
|
||||
import android.widget.TextView;
|
||||
|
||||
@ -193,7 +194,7 @@ public class DeckAdapter extends BaseAdapter
|
||||
canvas.setText(welcome);
|
||||
|
||||
for (Message message : channel.getHistory()) {
|
||||
canvas.append(message.render());
|
||||
canvas.append(message.render(canvas.getContext()));
|
||||
}
|
||||
|
||||
// XXX: Refactor this crap :)
|
||||
|
Loading…
Reference in New Issue
Block a user