Browse Source

Make the successfull task snackbar duration a bit shorter (about 2s

shorter). Helpful for two consecutive setting inputs, as you dont have
to wait.
pull/515/head
Phillip Dykman 5 years ago
parent
commit
80e388a560
  1. 2
      app/src/main/java/org/transdroid/core/gui/DetailsActivity.java

2
app/src/main/java/org/transdroid/core/gui/DetailsActivity.java

@ -356,7 +356,7 @@ public class DetailsActivity extends AppCompatActivity implements TorrentTasksEx @@ -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

Loading…
Cancel
Save