From cb71f550b965a2b35fd013eb2e2813b285c884ba Mon Sep 17 00:00:00 2001 From: Matthew Gray Date: Fri, 30 Oct 2020 15:15:35 +0000 Subject: [PATCH] more tidying --- .../objectives/objectives/Objective2.java | 31 ------------------- app/src/main/res/values/objectives.xml | 2 +- 2 files changed, 1 insertion(+), 32 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/constraints/objectives/objectives/Objective2.java b/app/src/main/java/info/nightscout/androidaps/plugins/constraints/objectives/objectives/Objective2.java index 47690d008f..97207208b2 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/constraints/objectives/objectives/Objective2.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/constraints/objectives/objectives/Objective2.java @@ -83,7 +83,6 @@ public class Objective2 extends Objective { .option(new Option(R.string.profileswitch2_bgunchanged, true)) .option(new Option(R.string.profileswitch2_isfhigher, false)) .hint(new Hint(R.string.profileswitch_hint1)) - ); tasks.add(new ExamTask(R.string.profileswitch_label, R.string.profileswitchtime_iwant,"profileswitchtime") .option(new Option(R.string.profileswitchtime_2, false)) @@ -175,36 +174,6 @@ public class Objective2 extends Objective { .option(new Option(R.string.iob_hightemp, false)) .option(new Option(R.string.iob_negiob, true)) .option(new Option(R.string.iob_posiob, true)) - - - ); - tasks.add(new ExamTask(R.string.offlineprofile_label, R.string.offlineprofile_whatprofile,"offlineprofile") - .option(new Option(R.string.localprofile, true)) - .option(new Option(R.string.nsprofile, false)) - .option(new Option(R.string.offlineprofile_nsprofile, true)) - .hint(new Hint(R.string.offlineprofile_hint1)) - - ); - tasks.add(new ExamTask(R.string.noisycgm_label, R.string.noisycgm_whattodo,"noisycgm") - .option(new Option(R.string.nothing, false)) - .option(new Option(R.string.disconnectpumpfor1h, false)) - .option(new Option(R.string.noisycgm_pause, true)) - .option(new Option(R.string.noisycgm_replacesensor, true)) - .option(new Option(R.string.noisycgm_turnoffphone, false)) - .option(new Option(R.string.noisycgm_checksmoothing, true)) - .hint(new Hint(R.string.noisycgm_hint1)) - - ); - tasks.add(new ExamTask(R.string.suspendloop_label, R.string.suspendloop_doigetinsulin,"suspendloop") - .option(new Option(R.string.suspendloop_yes, true)) - .option(new Option(R.string.suspendloop_no, false)) - ); - - tasks.add(new ExamTask(R.string.basalhelp_label, R.string.basalhelp_where,"basalhelp") - .option(new Option(R.string.basalhelp_diabetesteam, true)) - .option(new Option(R.string.basalhelp_google, false)) - .option(new Option(R.string.basalhelp_facebook, false)) - .hint(new Hint(R.string.basalhelp_hint1)) ); tasks.add(new ExamTask(R.string.extendedcarbs_label, R.string.extendedcarbs_handling,"extendedcarbs") .option(new Option(R.string.extendedcarbs_future, true)) diff --git a/app/src/main/res/values/objectives.xml b/app/src/main/res/values/objectives.xml index c96f7473ca..e7ed79a212 100644 --- a/app/src/main/res/values/objectives.xml +++ b/app/src/main/res/values/objectives.xml @@ -53,7 +53,7 @@ Code accepted Code invalid Prove your knowledge - Study the questions.  You are given four possible answers for each question. There may be more than one correct answer. Please check all those that are correct. + Study the questions.  You are given four possible answers for each question. There may be more than one correct answer. Please check all those that are correct and select VERIFY. Answering disabled until: %1$s Wrong answer! Next unfinished