Merge pull request #5632 from JonOfUs/fix-sleep-timer-dialog-setup
Don't show 'Set SleepTimer' and 'Disable SleepTimer' at the same time
This commit is contained in:
commit
9e42e103a9
|
@ -73,6 +73,7 @@ public class SleepTimerDialog extends DialogFragment {
|
||||||
spTimeUnit = content.findViewById(R.id.spTimeUnit);
|
spTimeUnit = content.findViewById(R.id.spTimeUnit);
|
||||||
timeSetup = content.findViewById(R.id.timeSetup);
|
timeSetup = content.findViewById(R.id.timeSetup);
|
||||||
timeDisplay = content.findViewById(R.id.timeDisplay);
|
timeDisplay = content.findViewById(R.id.timeDisplay);
|
||||||
|
timeDisplay.setVisibility(View.GONE);
|
||||||
time = content.findViewById(R.id.time);
|
time = content.findViewById(R.id.time);
|
||||||
Button extendSleepFiveMinutesButton = content.findViewById(R.id.extendSleepFiveMinutesButton);
|
Button extendSleepFiveMinutesButton = content.findViewById(R.id.extendSleepFiveMinutesButton);
|
||||||
extendSleepFiveMinutesButton.setText(getString(R.string.extend_sleep_timer_label, 5));
|
extendSleepFiveMinutesButton.setText(getString(R.string.extend_sleep_timer_label, 5));
|
||||||
|
|
Loading…
Reference in New Issue