new grade plurality fix

This commit is contained in:
CroatianHusky
2023-06-10 09:32:21 +02:00
parent cead24b65a
commit 06016514e5
2 changed files with 6 additions and 1 deletions

View File

@@ -62,7 +62,9 @@ class NewGradesSurprise extends StatelessWidget {
],
)
: Text(
"new_grades".i18n,
grades.length == 1 ?
"new_grade".i18n :
"new_grades".i18n,
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: const TextStyle(fontWeight: FontWeight.w600),