Skip to content

Commit 7463f54

Browse files
committed
fix: Incompatible keyboard type for different TextFields of the settings option.
1 parent 0d068bd commit 7463f54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Components/settings_text_field.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class _SettingsTextFieldState extends State<SettingsTextField> {
3939
color: ThemeProvider.theme.textTheme.bodyText1?.color,
4040
),
4141
keyboardType:
42-
(!widget.isText) ? TextInputType.text : TextInputType.number,
42+
(widget.isText) ? TextInputType.text : TextInputType.number,
4343
decoration: InputDecoration(
4444
floatingLabelBehavior: FloatingLabelBehavior.always,
4545
filled: true,

0 commit comments

Comments
 (0)