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

This commit is contained in:
2025-12-09 14:28:09 -07:00
parent b807904c6c
commit d47dadeb88
3 changed files with 6 additions and 3 deletions
+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;
}
}