add crashfix for android 6

This commit is contained in:
tibbi 2016-03-29 09:52:31 +02:00
parent 0f10c6dd92
commit 4c8f2293f5

View file

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