From 80e388a5600b8b69d70249f434b41e6d967ec855 Mon Sep 17 00:00:00 2001 From: Phillip Dykman Date: Wed, 27 Nov 2019 22:51:06 -0800 Subject: [PATCH] Make the successfull task snackbar duration a bit shorter (about 2s shorter). Helpful for two consecutive setting inputs, as you dont have to wait. --- app/src/main/java/org/transdroid/core/gui/DetailsActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/transdroid/core/gui/DetailsActivity.java b/app/src/main/java/org/transdroid/core/gui/DetailsActivity.java index 205731a1..59b48fc8 100644 --- a/app/src/main/java/org/transdroid/core/gui/DetailsActivity.java +++ b/app/src/main/java/org/transdroid/core/gui/DetailsActivity.java @@ -356,7 +356,7 @@ public class DetailsActivity extends AppCompatActivity implements TorrentTasksEx // Refresh the screen as well refreshTorrent(); refreshTorrentDetails(torrent); - SnackbarManager.show(Snackbar.with(this).text(successMessage)); + SnackbarManager.show(Snackbar.with(this).text(successMessage).duration(Snackbar.SnackbarDuration.LENGTH_SHORT)); } @UiThread