summaryrefslogtreecommitdiffstats
path: root/examples/download_progress
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-01-16 15:50:19 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-01-16 15:50:19 +0700
commitdc50a2830ab553dfc5dfc28d4fd1af6b3981c656 (patch)
tree4ff8bce15f88a0ca610551fdd81afa968f7fda58 /examples/download_progress
parent2f557731f313ccc94b5d0ebb4ee5603624670daf (diff)
downloadiced-dc50a2830ab553dfc5dfc28d4fd1af6b3981c656.tar.gz
iced-dc50a2830ab553dfc5dfc28d4fd1af6b3981c656.tar.bz2
iced-dc50a2830ab553dfc5dfc28d4fd1af6b3981c656.zip
Draft `websocket` example :tada:
Diffstat (limited to 'examples/download_progress')
-rw-r--r--examples/download_progress/src/download.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/download_progress/src/download.rs b/examples/download_progress/src/download.rs
index 06d5d3fd..20682e7a 100644
--- a/examples/download_progress/src/download.rs
+++ b/examples/download_progress/src/download.rs
@@ -10,6 +10,7 @@ pub fn file<I: 'static + Hash + Copy + Send, T: ToString>(
url: T,
) -> iced::Subscription<(I, Progress)> {
subscription::run(
+ id,
Download {
id,
url: url.to_string(),