summaryrefslogtreecommitdiff
path: root/ui/echo/src/main/java/de/danoeh
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2024-01-03 20:32:56 +0100
committerGitHub <noreply@github.com>2024-01-03 20:32:56 +0100
commitbf6721842220d7e89a0c3a451f5965e57feb9ca0 (patch)
treed7bda765b86567da47cb6e48900c2cab8d999427 /ui/echo/src/main/java/de/danoeh
parentf476086114a56d214558f37b066849150a141390 (diff)
downloadAntennaPod-bf6721842220d7e89a0c3a451f5965e57feb9ca0.zip
Print duration as number of days only on Echo (#6842)
Reverts an accidental change to the queue time display
Diffstat (limited to 'ui/echo/src/main/java/de/danoeh')
-rw-r--r--ui/echo/src/main/java/de/danoeh/antennapod/ui/echo/EchoActivity.java4
1 files changed, 2 insertions, 2 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 92adaed2e..50b34b6e3 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
@@ -210,7 +210,7 @@ public class EchoActivity extends AppCompatActivity {
int daysUntil2024 = Math.max(356 - Calendar.getInstance().get(Calendar.DAY_OF_YEAR) + 1, 1);
long secondsPerDay = queueSecondsLeft / daysUntil2024;
String timePerDay = Converter.getDurationStringLocalized(
- getLocalizedResources(this, getEchoLanguage()), secondsPerDay * 1000);
+ getLocalizedResources(this, getEchoLanguage()), secondsPerDay * 1000, true);
double hoursPerDay = (double) (secondsPerDay / 3600);
if (hoursPerDay < 1.5) {
viewBinding.aboveLabel.setText(R.string.echo_queue_title_clean);
@@ -235,7 +235,7 @@ public class EchoActivity extends AppCompatActivity {
}
viewBinding.smallLabel.setText(getString(R.string.echo_listened_after_time,
Converter.getDurationStringLocalized(
- getLocalizedResources(this, getEchoLanguage()), timeBetweenReleaseAndPlay)));
+ getLocalizedResources(this, getEchoLanguage()), timeBetweenReleaseAndPlay, true)));
currentDrawable = new RotatingSquaresScreen(this);
break;
case 4: