Skip to content

Commit

Permalink
Merge pull request #1 from andriySad/my-fix-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Mo0Khaled authored Jul 29, 2023
2 parents 341691b + 8fb8e3c commit 626c8e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/widgets/numpad.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ class NumPad extends StatelessWidget {
@override
Widget build(BuildContext context) {
void onTypeNumber(int number) {
String num = "";
if (arabicDigits == true) num = number.toString().toArabicNumbers;
String num = arabicDigits == true ? number.toString().toArabicNumbers : number.toString();

onType(returnItAsEnglish == true ? num.toEnglishNumbers : num);
}

Expand Down

0 comments on commit 626c8e7

Please sign in to comment.