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