There was an error while loading. Please reload this page.
1 parent e91b31e commit 2d4fb1fCopy full SHA for 2d4fb1f
1 file changed
lib/core/widgets/price_input/price_input.dart
@@ -1,3 +1,4 @@
1
+import 'package:bb_mobile/core/settings/domain/settings_entity.dart';
2
import 'package:bb_mobile/core/themes/app_theme.dart';
3
import 'package:bb_mobile/core/utils/constants.dart';
4
import 'package:bb_mobile/core/widgets/bottom_sheet/x.dart';
@@ -67,7 +68,11 @@ class PriceInput extends StatelessWidget {
67
68
: TextField(
69
controller: amountController,
70
focusNode: focusNode,
- keyboardType: TextInputType.none,
71
+ keyboardType: TextInputType.numberWithOptions(
72
+ signed: true,
73
+ // We could pass the bitcoin unit to restrict the system DialPad
74
+ // decimal: true
75
+ ),
76
inputFormatters: [AmountInputFormatter(currency)],
77
showCursor: !readOnly,
78
readOnly: readOnly,
0 commit comments