Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3407622
D7703.id26041.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
520 B
Referenced Files
None
Subscribers
None
D7703.id26041.diff
View Options
diff --git a/native/avatars/avatar-hooks.js b/native/avatars/avatar-hooks.js
--- a/native/avatars/avatar-hooks.js
+++ b/native/avatars/avatar-hooks.js
@@ -120,14 +120,6 @@
return React.useCallback(
async (selection: NativeMediaSelection) => {
- if (!selection) {
- Alert.alert(
- 'Media selection failed',
- 'Unable to select media from Media Library.',
- );
- return undefined;
- }
-
setProcessingOrUploadInProgress(true);
let processedMedia;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 5, 7:04 AM (15 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2614708
Default Alt Text
D7703.id26041.diff (520 B)
Attached To
Mode
D7703: [native] Get rid of null check in `useUploadSelectedMedia`
Attached
Detach File
Event Timeline
Log In to Comment