Add tips for torrent download

This commit is contained in:
FooIbar authored and tarsin committed 2023-01-10 20:30:26 +08:00
1 parent 613d502fc1
commit b2b3e6c485
3 files changed
+6

No files matched your search

@@ -1903,9 +1903,11 @@ public class GalleryDetailScene extends CollapsingToolbarScene implements View.O
if (dm != null) {
try {
dm.enqueue(r);
showTip(R.string.download_torrent_started, LENGTH_SHORT);
} catch (Throwable e) {
e.printStackTrace();
ExceptionUtils.throwIfFatal(e);
showTip(R.string.download_torrent_failure, LENGTH_SHORT);
}
}
}