forked from zulip/zulip-mobile
-
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.
ComposeMenu: Extract default filename for new image picker.
This commit adds a function to extract the filename from an image uri. This will be useful in the following commit when we switch to a new image picker library. On android, the filename is currently not returned by the react-native-image-crop-picker so we edit chooseUploadImageFilename to be able to infer the filename from the uri instead.
- Loading branch information
1 parent
d688069
commit 766ab54
Showing
2 changed files
with
17 additions
and
3 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
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