Skip to content

Commit ca87204

Browse files
committed
figured out how try-catch works in dart
1 parent 95fcfe3 commit ca87204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/helpers/UIHelper.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class UIHelper {
2424
} else {
2525
return AppStyle.textInputColor;
2626
}
27-
} catch (FormatException) {
27+
} catch (e) {
2828
return AppStyle.textInputColor;
2929
}
3030
}

0 commit comments

Comments
 (0)