Don't show 'Set SleepTimer' and 'Disable SleepTimer' at the same time

This commit is contained in:
Jonathan Flueren 2022-01-02 16:55:17 +01:00
parent 3656ddcf36
commit 95bc7d5401
1 changed files with 1 additions and 0 deletions

View File

@ -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));