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:
Vavassor 2017-07-20 21:17:36 -04:00
commit 3f8378ae3a
5 changed files with 10 additions and 9 deletions

View file

@ -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: