Commit bca0b213 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Fix possible NullPointerException

parent 721da7a2
......@@ -164,7 +164,7 @@ public class DirectoryViewFragment extends SherlockListFragment implements ISort
}
public void refresh() {
mDirectoryAdapter.clear();
if (mDirectoryAdapter != null)
mDirectoryAdapter.clear();
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment