refactor: Used is_multiple_of to make life easier and cleaner in the app module

This commit is contained in:
Dark-Alex-17 committed 2025-12-09 14:28:09 -07:00
1 parent b807904c6c
commit d47dadeb88
3 files changed
+6 -3

No files matched your search

+1 -1
View File
@@ -214,7 +214,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_sonarr_metadata().await;
}
}