fix crash in StatusBaseViewHolder.getVisibilityDescription
This commit is contained in:
parent
ae446d182d
commit
ed8da7d747
@ -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 New Issue
Block a user