Merge branch 'master' into dev

This commit is contained in:
Kima 2023-08-26 12:14:17 +02:00
commit 758bcda581

View File

@ -121,7 +121,7 @@ class _GradeCalculatorState extends State<GradeCalculator> {
child: MaterialActionButton( child: MaterialActionButton(
child: Text("Add Grade".i18n), child: Text("Add Grade".i18n),
onPressed: () { onPressed: () {
if (calculatorProvider.ghosts.length >= 30) { if (calculatorProvider.ghosts.length >= 50) {
ScaffoldMessenger.of(context).showSnackBar(CustomSnackBar(content: Text("limit_reached".i18n), context: context)); ScaffoldMessenger.of(context).showSnackBar(CustomSnackBar(content: Text("limit_reached".i18n), context: context));
return; return;
} }