Browse Source

Allow pausing a torrent when queued

pull/637/head
Brian Witt 2 years ago
parent
commit
71f3e1b4b5
  1. 2
      app/src/main/java/org/transdroid/daemon/Torrent.java

2
app/src/main/java/org/transdroid/daemon/Torrent.java

@ -359,7 +359,7 @@ public final class Torrent implements Parcelable, Comparable<Torrent>, Finishabl
*/ */
public boolean canPause() { public boolean canPause() {
// Can pause when it is downloading or seeding // Can pause when it is downloading or seeding
return statusCode == TorrentStatus.Downloading || statusCode == TorrentStatus.Seeding; return statusCode == TorrentStatus.Downloading || statusCode == TorrentStatus.Seeding || statusCode == TorrentStatus.Queued;
} }
/** /**

Loading…
Cancel
Save