Show YES_AUTO as grey checkmark
This reverts a change introduced recently where YES_AUTO (previously CHECKED_IMPLICITLY) was shown as a grey dash.
|
Before Width: | Height: | Size: 217 B After Width: | Height: | Size: 545 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 5.2 KiB |
@@ -109,7 +109,6 @@ class CheckmarkButtonView(
|
|||||||
}
|
}
|
||||||
val id = when (value) {
|
val id = when (value) {
|
||||||
SKIP -> R.string.fa_skipped
|
SKIP -> R.string.fa_skipped
|
||||||
YES_AUTO -> R.string.fa_skipped
|
|
||||||
NO -> R.string.fa_times
|
NO -> R.string.fa_times
|
||||||
else -> R.string.fa_check
|
else -> R.string.fa_check
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -116,8 +116,8 @@ public class CheckmarkWidgetView extends HabitWidgetView {
|
|||||||
if (isNumerical) return NumberButtonViewKt.toShortString(checkmarkValue / 1000.0);
|
if (isNumerical) return NumberButtonViewKt.toShortString(checkmarkValue / 1000.0);
|
||||||
switch (checkmarkState) {
|
switch (checkmarkState) {
|
||||||
case Checkmark.YES_MANUAL:
|
case Checkmark.YES_MANUAL:
|
||||||
return getResources().getString(R.string.fa_check);
|
|
||||||
case Checkmark.YES_AUTO:
|
case Checkmark.YES_AUTO:
|
||||||
|
return getResources().getString(R.string.fa_check);
|
||||||
case Checkmark.SKIP:
|
case Checkmark.SKIP:
|
||||||
return getResources().getString(R.string.fa_skipped);
|
return getResources().getString(R.string.fa_skipped);
|
||||||
case Checkmark.NO:
|
case Checkmark.NO:
|
||||||
|
|||||||