Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3407653
D7703.id26014.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.id26014.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:11 AM (15 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2614708
Default Alt Text
D7703.id26014.diff (520 B)
Attached To
Mode
D7703: [native] Get rid of null check in `useUploadSelectedMedia`
Attached
Detach File
Event Timeline
Log In to Comment