~mihirsoni/ubuntu-calendar-app/dateSelectNewEventTest

« back to all changes in this revision

Viewing changes to EventReminder.qml

  • Committer: Mihir Soni
  • Date: 2014-10-10 17:49:49 UTC
  • mto: This revision was merged to the branch mainline in revision 497.
  • Revision ID: mihirsoni.123@gmail.com-20141010174949-ornswnk3onjrbdjh
Added new reminder issues & addressed all review comments

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    head.backAction: Action{
38
38
        iconName:"back"
39
39
        onTriggered:{
40
 
            if(reminderTime >= 0) {
41
 
                visualReminder.repetitionCount = 3;
42
 
                visualReminder.repetitionDelay = 120;
43
 
                visualReminder.message = eventTitle
44
 
                visualReminder.secondsBeforeStart = reminderTime === 0 ? -1 : reminderTime ;
45
 
 
46
 
                audibleReminder.repetitionCount = 3;
47
 
                audibleReminder.repetitionDelay = 120;
48
 
                audibleReminder.secondsBeforeStart = reminderTime === 0 ? -1 : reminderTime;
49
 
            }
 
40
            visualReminder.repetitionCount = 3;
 
41
            visualReminder.repetitionDelay = 120;
 
42
            visualReminder.message = eventTitle
 
43
            visualReminder.secondsBeforeStart = reminderTime;
 
44
 
 
45
            audibleReminder.repetitionCount = 3;
 
46
            audibleReminder.repetitionDelay = 120;
 
47
            audibleReminder.secondsBeforeStart = reminderTime;
 
48
 
50
49
            pop();
51
50
        }
52
51
    }