diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/triggers/TriggerDelta.kt b/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/triggers/TriggerDelta.kt index 0a7972461a..78702bb975 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/triggers/TriggerDelta.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/triggers/TriggerDelta.kt @@ -108,7 +108,7 @@ class TriggerDelta(injector: HasAndroidInjector) : Trigger(injector) { override fun friendlyDescription(): String = resourceHelper.gs(R.string.deltacompared, resourceHelper.gs(comparator.value.stringRes), delta.value, resourceHelper.gs(delta.deltaType.stringRes)) - override fun icon(): Optional = Optional.of(R.drawable.icon_auto_delta) + override fun icon(): Optional = Optional.of(R.drawable.ic_auto_delta) override fun duplicate(): Trigger = TriggerDelta(injector, this) diff --git a/app/src/main/res/drawable/ic_auto_delta.xml b/app/src/main/res/drawable/ic_auto_delta.xml new file mode 100644 index 0000000000..9e9eaafd0e --- /dev/null +++ b/app/src/main/res/drawable/ic_auto_delta.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_clone.xml b/app/src/main/res/drawable/ic_clone.xml index 9f566e27cb..fa8c8e0c51 100644 --- a/app/src/main/res/drawable/ic_clone.xml +++ b/app/src/main/res/drawable/ic_clone.xml @@ -5,5 +5,5 @@ android:viewportHeight="24"> + android:fillColor="#739BE0"/> diff --git a/app/src/test/java/info/nightscout/androidaps/plugins/general/automation/triggers/TriggerDeltaTest.kt b/app/src/test/java/info/nightscout/androidaps/plugins/general/automation/triggers/TriggerDeltaTest.kt index 97c26dbcd0..acbc3bb5dd 100644 --- a/app/src/test/java/info/nightscout/androidaps/plugins/general/automation/triggers/TriggerDeltaTest.kt +++ b/app/src/test/java/info/nightscout/androidaps/plugins/general/automation/triggers/TriggerDeltaTest.kt @@ -93,7 +93,7 @@ class TriggerDeltaTest : TriggerTestBase() { } @Test fun iconTest() { - Assert.assertEquals(Optional.of(R.drawable.icon_auto_delta), TriggerDelta(injector).icon()) + Assert.assertEquals(Optional.of(R.drawable.ic_auto_delta), TriggerDelta(injector).icon()) } @Test fun initializerTest() { diff --git a/icons/auto_delta.svg b/icons/auto_delta.svg new file mode 100644 index 0000000000..ce90280726 --- /dev/null +++ b/icons/auto_delta.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + diff --git a/icons/clone.svg b/icons/clone.svg index fadc866c1c..16226c69c9 100644 --- a/icons/clone.svg +++ b/icons/clone.svg @@ -4,7 +4,7 @@ -