icon added
This commit is contained in:
parent
4aaca7acb1
commit
ccd66d498c
|
@ -120,7 +120,7 @@ public class TriggerAutosensValue extends Trigger {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Optional<Integer> icon() {
|
public Optional<Integer> icon() {
|
||||||
return Optional.of(R.drawable.remove); // TODO icon
|
return Optional.of(R.drawable.as);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
BIN
app/src/main/res/drawable/as.png
Normal file
BIN
app/src/main/res/drawable/as.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
|
@ -105,7 +105,7 @@ public class TriggerAutosensValueTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void iconTest() {
|
public void iconTest() {
|
||||||
Assert.assertEquals(Optional.of(R.drawable.remove), new TriggerAutosensValue().icon());
|
Assert.assertEquals(Optional.of(R.drawable.as), new TriggerAutosensValue().icon());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue