fix crash in StatusBaseViewHolder.getVisibilityDescription
This commit is contained in:
parent
40d3eb8759
commit
51cf1a4ec5
1 changed files with 3 additions and 0 deletions
|
@ -742,6 +742,9 @@ public abstract class StatusBaseViewHolder extends RecyclerView.ViewHolder {
|
|||
}
|
||||
|
||||
private CharSequence getVisibilityDescription(Context context, Status.Visibility visibility) {
|
||||
if(visibility == null) {
|
||||
return "";
|
||||
}
|
||||
int resource;
|
||||
switch (visibility) {
|
||||
case PUBLIC:
|
||||
|
|
Loading…
Reference in a new issue