Undo Swipe2Delete raised up to 7 seconds

This commit is contained in:
Niedermann IT-Dienstleistungen 2018-04-12 14:24:00 +02:00
parent c0080c11f9
commit a4b2a610cd

View file

@ -396,7 +396,7 @@ public class NotesListViewActivity extends AppCompatActivity implements ItemAdap
adapter.remove(dbNote);
refreshLists();
Log.v("Note", "Item deleted through swipe ----------------------------------------------");
Snackbar.make(swipeRefreshLayout, R.string.action_note_deleted, Snackbar.LENGTH_LONG)
Snackbar.make(swipeRefreshLayout, R.string.action_note_deleted, 7 * 1000)
.setAction(R.string.action_undo, new View.OnClickListener() {
@Override
public void onClick(View v) {