Fixes a crash when a timeline or thread is backgrounded and brought back with an uninitialized notification or status list.
This commit is contained in:
parent
ab537ef3cb
commit
3f8378ae3a
5 changed files with 10 additions and 9 deletions
|
|
@ -313,9 +313,8 @@ public class StatusViewHolder extends RecyclerView.ViewHolder {
|
|||
}
|
||||
}
|
||||
|
||||
private static
|
||||
@DrawableRes
|
||||
int getLabelIcon(Status.MediaAttachment.Type type) {
|
||||
private static int getLabelIcon(Status.MediaAttachment.Type type) {
|
||||
switch (type) {
|
||||
default:
|
||||
case IMAGE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue