Skip to content

Commit

Permalink
Use correct strings for bonus dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
FauconSpartiate committed Feb 10, 2024
1 parent 968985f commit 785c3ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/misc/default_values.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class DefaultValues {
static const int roundTo = 1;
static const int preciseRoundToMultiplier = 10;
static const double weight = 1.0;
static const double bonus = 1;
static const double speakingWeight = 3.0;
static const double examWeight = 2.0;
static const bool leadingZero = true;
Expand Down
4 changes: 2 additions & 2 deletions lib/ui/widgets/dialogs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -623,8 +623,8 @@ class _BonusDialogState extends State<BonusDialog> {
children: [
EasyFormField(
controller: bonusController,
label: translations.coefficientOne,
hint: Calculator.format(DefaultValues.weight, leadingZero: false, roundToOverride: 1),
label: translations.bonus,
hint: Calculator.format(DefaultValues.bonus, leadingZero: false, roundToOverride: 1),
numeric: true,
autofocus: true,
textInputAction: TextInputAction.next,
Expand Down

0 comments on commit 785c3ff

Please sign in to comment.