From a4b2a610cd603803833f8d17f708fcc7622475cf Mon Sep 17 00:00:00 2001 From: Niedermann IT-Dienstleistungen Date: Thu, 12 Apr 2018 14:24:00 +0200 Subject: [PATCH] Undo Swipe2Delete raised up to 7 seconds --- .../owncloud/notes/android/activity/NotesListViewActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/it/niedermann/owncloud/notes/android/activity/NotesListViewActivity.java b/app/src/main/java/it/niedermann/owncloud/notes/android/activity/NotesListViewActivity.java index 1c8cb1ce..77686d2b 100644 --- a/app/src/main/java/it/niedermann/owncloud/notes/android/activity/NotesListViewActivity.java +++ b/app/src/main/java/it/niedermann/owncloud/notes/android/activity/NotesListViewActivity.java @@ -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) {