more objectives
This commit is contained in:
parent
25fab5f30e
commit
aa7f921ad9
|
@ -183,6 +183,14 @@ public class Objective2 extends Objective {
|
|||
.hint(new Hint(R.string.profileswitch_hint1))
|
||||
);
|
||||
|
||||
tasks.add(new ExamTask(R.string.profileswitch, R.string.profileswitchtime_iwant,"profileswitchtime")
|
||||
.option(new Option(R.string.profileswitchtime_1, false))
|
||||
.option(new Option(R.string.profileswitchtime__1, true))
|
||||
.option(new Option(R.string.profileswitchtime_60, false))
|
||||
.option(new Option(R.string.profileswitchtime__60, false))
|
||||
.hint(new Hint(R.string.profileswitchtime_hint1))
|
||||
);
|
||||
|
||||
for (Task task : tasks)
|
||||
Collections.shuffle(((ExamTask)task).options);
|
||||
}
|
||||
|
|
|
@ -143,5 +143,11 @@
|
|||
<string name="profileswitch_targetlower">Target will be 10% lower</string>
|
||||
<string name="profileswitch_targetbottom">Only bottom target will be 10% lower</string>
|
||||
<string name="profileswitch_hint1">https://androidaps.readthedocs.io/en/latest/EN/Usage/Profiles.html?highlight=profile%20switch#profile-switch</string>
|
||||
<string name="profileswitchtime_iwant">I want to do a profile switch because I had to wake up 1h earlier than usually, so it makes more sense to announce the change by the time shift with a profile switch. What number should I use?</string>
|
||||
<string name="profileswitchtime_1">1</string>
|
||||
<string name="profileswitchtime__1">-1</string>
|
||||
<string name="profileswitchtime_hint1">https://androidaps.readthedocs.io/en/latest/EN/Usage/Profiles.html?highlight=profile%20switch#timeshift</string>
|
||||
<string name="profileswitchtime_60">60</string>
|
||||
<string name="profileswitchtime__60">-60</string>
|
||||
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue