Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
afollestad committed Aug 24, 2015
1 parent bc194a0 commit 7f0f36c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,8 @@ private void invalidate() {
mGrid.setAdapter(new ColorGridAdapter());
mGrid.setSelector(ResourcesCompat.getDrawable(getResources(), R.drawable.md_transparent, null));
} else ((BaseAdapter) mGrid.getAdapter()).notifyDataSetChanged();
getDialog().setTitle(title());
if (getDialog() != null)
getDialog().setTitle(title());
}

private class ColorGridAdapter extends BaseAdapter {
Expand Down

0 comments on commit 7f0f36c

Please sign in to comment.