Amadeus icon indicating copy to clipboard operation
Amadeus copied to clipboard

bug with alarm clock ui

Open ivan-kulikov-dev opened this issue 6 years ago • 2 comments

bug with alarm clock ui.

Set the alarm time and turn it on. We leave the menu and go again. The current time, not the time of the configured alarm, in the menu.

how to fix

public class AlarmActivity

    if (settings.getBoolean("alarm_toggle", false)) {
         alarmToggle.setChecked(true);
  •        Calendar calendar = Calendar.getInstance();
    
  •        alarmTimePicker.setHour(calendar.get(Calendar.HOUR_OF_DAY));
    
  •        alarmTimePicker.setMinute(Calendar.MINUTE);
       } else {
    

???

ivan-kulikov-dev avatar Apr 30 '18 23:04 ivan-kulikov-dev

I'm sorry, I don't really understand the problem. Is it that you can set the alarm again after setting it once?

Yink avatar May 01 '18 08:05 Yink

@YInk Does that mean we can set multiple alarms? That would be awesome but how do we disable them?

aviralrstg avatar May 02 '18 09:05 aviralrstg