Small improvement

pull/187/head
M66B 4 years ago
parent b2e533b05d
commit cce379a9c8

@ -22,6 +22,7 @@ package eu.faircode.email;
import android.content.Context; import android.content.Context;
import android.content.Intent; import android.content.Intent;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import android.database.sqlite.SQLiteConstraintException;
import android.graphics.Color; import android.graphics.Color;
import android.os.Bundle; import android.os.Bundle;
import android.text.TextUtils; import android.text.TextUtils;
@ -605,7 +606,7 @@ public class FragmentFolder extends FragmentBase {
Snackbar.make(view, ex.getMessage(), Snackbar.LENGTH_LONG) Snackbar.make(view, ex.getMessage(), Snackbar.LENGTH_LONG)
.setGestureInsetBottomIgnored(true).show(); .setGestureInsetBottomIgnored(true).show();
else else
Log.unexpectedError(getParentFragmentManager(), ex); Log.unexpectedError(getParentFragmentManager(), ex, !(ex instanceof SQLiteConstraintException));
} }
}.execute(this, args, "folder:save"); }.execute(this, args, "folder:save");
} }

Loading…
Cancel
Save