mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-24 05:46:14 +03:00
Undo Swipe2Delete raised up to 7 seconds
This commit is contained in:
parent
c0080c11f9
commit
a4b2a610cd
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue