Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed Jul 22, 2017
1 parent 20e2877 commit d16e780
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,16 @@ public void removeById(@NonNull final ViewId viewId)
views.invalidate(viewId);
views.cleanUp(); // also cleanup to prevent views cache to grow.
}

@Override
public void invalidateView(final ViewId viewId)
{
final IView view = getByIdOrNull(viewId);
if(view == null)
if (view == null)
{
return;
}

view.invalidateAll();
}

Expand Down

0 comments on commit d16e780

Please sign in to comment.