Skip to content
This repository was archived by the owner on Jan 5, 2021. It is now read-only.

Commit 7ee388a

Browse files
author
Luis Correa
committed
Clean phone numbers from contacts
1 parent 5613e8f commit 7ee388a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/components/ussd_widget.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,7 @@ class _CodeFormState extends State<CodeForm> {
603603
suffixIcon: FlatButton(
604604
onPressed: () async {
605605
String number = await getContactPhoneNumber();
606+
number = number.replaceAll('-', '');
606607

607608
phoneNumberController.text = number;
608609
phoneNumberController.addListener(() {

0 commit comments

Comments
 (0)