refactor: Replaced all modulo usages of tick_until_poll with is_multiple_of
This commit is contained in:
@@ -185,7 +185,7 @@ impl App<'_> {
|
||||
}
|
||||
}
|
||||
|
||||
if self.tick_count % self.tick_until_poll == 0 {
|
||||
if self.tick_count.is_multiple_of(self.tick_until_poll) {
|
||||
self.refresh_radarr_metadata().await;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user