-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Import Contact Improvements (#15)
* feat: qr code improvements * apply pending connection events * chore: hide import contacts for now * fix: import native contact fixes and improvements * fix: phone number parsing for Google contacts * fix: contact properties intersection * feat: format imported phone numbers * feat: sort record lists
- Loading branch information
1 parent
1d8838c
commit a2a1771
Showing
5 changed files
with
28 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
type RecordItem = { | ||
name: string | ||
} | ||
|
||
export function sortRecordsByName<T extends RecordItem>(record: T[]): T[] { | ||
return record.sort((a, b) => a.name.localeCompare(b.name)) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters