Skip to content

Commit

Permalink
Reload activities after conversion but before segments
Browse files Browse the repository at this point in the history
  • Loading branch information
dantleech committed Dec 4, 2024
1 parent 0a0a9c8 commit c1f0dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sync/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ impl ActivityConverter<'_> {
.await?;
}
}
self.event_sender.send(InputEvent::Reload).await?;
self.logger.info("Updating segments".to_string()).await;
self.update_segments(&segments).await.unwrap();
self.logger.info("Done converting".to_string()).await;
self.event_sender.send(InputEvent::Reload).await?;

Ok(())
}
Expand Down

0 comments on commit c1f0dbb

Please sign in to comment.