Fix formatting for "Updated x time ago" (fixes #1064)

This commit is contained in:
Felix Ableitner 2017-06-19 11:25:36 +09:00
parent eabec87a4c
commit 31473c4395

View File

@ -531,9 +531,9 @@ public final class Utils {
} else if (weeks < 1) {
return res.getQuantityString(R.plurals.details_last_update_days, (int) days, days);
} else if (months < 1) {
return res.getQuantityString(R.plurals.details_last_update_months, (int) months, months);
} else if (years < 1) {
return res.getQuantityString(R.plurals.details_last_update_weeks, (int) weeks, weeks);
} else if (years < 1) {
return res.getQuantityString(R.plurals.details_last_update_months, (int) months, months);
} else {
return res.getQuantityString(R.plurals.details_last_update_years, (int) years, years);
}