add crashfix for android 6

This commit is contained in:
tibbi 2016-03-29 09:52:31 +02:00
parent 0f10c6dd92
commit 4c8f2293f5
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ public class MainActivity extends AppCompatActivity
}
private void deleteDirs() {
if (toBeDeleted.isEmpty())
if (toBeDeleted == null || toBeDeleted.isEmpty())
return;
if (snackbar != null) {