summaryrefslogtreecommitdiff
path: root/ui/echo
diff options
context:
space:
mode:
authorTacoTheDank <SkytkRSfan3895@gmail.com>2024-03-06 02:52:14 -0500
committerTacoTheDank <SkytkRSfan3895@gmail.com>2024-03-06 02:52:14 -0500
commitc2ccc28b9513dab91e006681fd0c8fafac275623 (patch)
tree92fb4736066544322a08481fcd5d5db74b642ca6 /ui/echo
parent6f582e4c52ae5f6f31b2014110823f561f5eb34b (diff)
downloadAntennaPod-c2ccc28b9513dab91e006681fd0c8fafac275623.zip
Update SpotBugs
Diffstat (limited to 'ui/echo')
-rw-r--r--ui/echo/src/main/java/de/danoeh/antennapod/ui/echo/EchoActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/echo/src/main/java/de/danoeh/antennapod/ui/echo/EchoActivity.java b/ui/echo/src/main/java/de/danoeh/antennapod/ui/echo/EchoActivity.java
index 758eaeac7..5981c7ad4 100644
--- a/ui/echo/src/main/java/de/danoeh/antennapod/ui/echo/EchoActivity.java
+++ b/ui/echo/src/main/java/de/danoeh/antennapod/ui/echo/EchoActivity.java
@@ -222,7 +222,7 @@ public class EchoActivity extends AppCompatActivity {
long secondsPerDay = queueSecondsLeft / daysUntilNextYear;
String timePerDay = Converter.getDurationStringLocalized(
getLocalizedResources(this, getEchoLanguage()), secondsPerDay * 1000, true);
- double hoursPerDay = (double) (secondsPerDay / 3600);
+ double hoursPerDay = secondsPerDay / 3600.0;
int nextYear = RELEASE_YEAR + 1;
if (hoursPerDay < 1.5) {
viewBinding.aboveLabel.setText(R.string.echo_queue_title_clean);