diff options
author | Jonathan Flueren <11487762+JonOfUs@users.noreply.github.com> | 2022-01-02 16:55:17 +0100 |
---|---|---|
committer | Jonathan Flueren <11487762+JonOfUs@users.noreply.github.com> | 2022-01-02 16:55:17 +0100 |
commit | 95bc7d540177f4dbaf83224be54f5b0c8ff32166 (patch) | |
tree | 47a056caa9b4e2a50958d2669bc188ab3fd9abbc /app | |
parent | 3656ddcf3687d45753d02cab80268953f960e98a (diff) | |
download | AntennaPod-95bc7d540177f4dbaf83224be54f5b0c8ff32166.zip |
Don't show 'Set SleepTimer' and 'Disable SleepTimer' at the same time
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/dialog/SleepTimerDialog.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/SleepTimerDialog.java b/app/src/main/java/de/danoeh/antennapod/dialog/SleepTimerDialog.java index 764940e06..8cd34b5f8 100644 --- a/app/src/main/java/de/danoeh/antennapod/dialog/SleepTimerDialog.java +++ b/app/src/main/java/de/danoeh/antennapod/dialog/SleepTimerDialog.java @@ -73,6 +73,7 @@ public class SleepTimerDialog extends DialogFragment { spTimeUnit = content.findViewById(R.id.spTimeUnit); timeSetup = content.findViewById(R.id.timeSetup); timeDisplay = content.findViewById(R.id.timeDisplay); + timeDisplay.setVisibility(View.GONE); time = content.findViewById(R.id.time); Button extendSleepFiveMinutesButton = content.findViewById(R.id.extendSleepFiveMinutesButton); extendSleepFiveMinutesButton.setText(getString(R.string.extend_sleep_timer_label, 5)); |