|
|
@ -56,8 +56,9 @@ public class CheckmarkTimeWidgetView extends CheckmarkWidgetView {
|
|
|
|
if (isNumerical) return NumberButtonViewKt.toShortString(checkmarkValue / 1000.0);
|
|
|
|
if (isNumerical) return NumberButtonViewKt.toShortString(checkmarkValue / 1000.0);
|
|
|
|
switch (checkmarkState) {
|
|
|
|
switch (checkmarkState) {
|
|
|
|
case Checkmark.CHECKED_EXPLICITLY:
|
|
|
|
case Checkmark.CHECKED_EXPLICITLY:
|
|
|
|
case Checkmark.CHECKED_IMPLICITLY:
|
|
|
|
|
|
|
|
return getResources().getString(R.string.fa_check);
|
|
|
|
return getResources().getString(R.string.fa_check);
|
|
|
|
|
|
|
|
case Checkmark.CHECKED_IMPLICITLY:
|
|
|
|
|
|
|
|
return newest == null ? getResources().getString(R.string.fa_check) : newest.getTimestamp().daysUntil(new Timestamp(System.currentTimeMillis())) + getResources().getString(R.string.fa_check);
|
|
|
|
case Checkmark.SKIPPED:
|
|
|
|
case Checkmark.SKIPPED:
|
|
|
|
return getResources().getString(R.string.fa_skipped);
|
|
|
|
return getResources().getString(R.string.fa_skipped);
|
|
|
|
case Checkmark.UNCHECKED:
|
|
|
|
case Checkmark.UNCHECKED:
|
|
|
|