Increase swipe-to-archive snackbar duration

Fixes #4745
Closes #4746
// FREEBIE
This commit is contained in:
Geonu Kang 2015-11-28 20:26:28 +09:00 committed by Moxie Marlinspike
parent 24360bf5b6
commit fa411f5623

View File

@ -440,7 +440,7 @@ public class ConversationListFragment extends Fragment
getString(R.string.ConversationListFragment_moved_conversation_to_inbox), getString(R.string.ConversationListFragment_moved_conversation_to_inbox),
getString(R.string.ConversationListFragment_undo), getString(R.string.ConversationListFragment_undo),
getResources().getColor(R.color.amber_500), getResources().getColor(R.color.amber_500),
Snackbar.LENGTH_SHORT, false) Snackbar.LENGTH_LONG, false)
{ {
@Override @Override
protected void executeAction(@Nullable Long parameter) { protected void executeAction(@Nullable Long parameter) {
@ -457,7 +457,7 @@ public class ConversationListFragment extends Fragment
getString(R.string.ConversationListFragment_archived_conversation), getString(R.string.ConversationListFragment_archived_conversation),
getString(R.string.ConversationListFragment_undo), getString(R.string.ConversationListFragment_undo),
getResources().getColor(R.color.amber_500), getResources().getColor(R.color.amber_500),
Snackbar.LENGTH_SHORT, false) Snackbar.LENGTH_LONG, false)
{ {
@Override @Override
protected void executeAction(@Nullable Long parameter) { protected void executeAction(@Nullable Long parameter) {