Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Tweak RN patch (#5477)

authored by

Hailey and committed by
GitHub
f231da0c ddaf2c62

+7 -7
+7 -7
patches/react-native+0.74.1.patch
··· 1 1 diff --git a/node_modules/react-native/Libraries/Blob/RCTFileReaderModule.mm b/node_modules/react-native/Libraries/Blob/RCTFileReaderModule.mm 2 - index caa5540..6027825 100644 2 + index caa5540..c5d4e67 100644 3 3 --- a/node_modules/react-native/Libraries/Blob/RCTFileReaderModule.mm 4 4 +++ b/node_modules/react-native/Libraries/Blob/RCTFileReaderModule.mm 5 - @@ -71,7 +71,7 @@ @implementation RCTFileReaderModule 6 - [NSString stringWithFormat:@"Unable to resolve data for blob: %@", [RCTConvert NSString:blob[@"blobId"]]], 7 - nil); 5 + @@ -73,7 +73,7 @@ @implementation RCTFileReaderModule 8 6 } else { 9 - - NSString *type = [RCTConvert NSString:blob[@"type"]]; 10 - + NSString *type = RCTNilIfNull([RCTConvert NSString:blob[@"type"]]); 7 + NSString *type = [RCTConvert NSString:blob[@"type"]]; 11 8 NSString *text = [NSString stringWithFormat:@"data:%@;base64,%@", 12 - type != nil && [type length] > 0 ? type : @"application/octet-stream", 9 + - type != nil && [type length] > 0 ? type : @"application/octet-stream", 10 + + ![type isEqual:[NSNull null]] && [type length] > 0 ? type : @"application/octet-stream", 13 11 [data base64EncodedStringWithOptions:0]]; 12 + 13 + resolve(text); 14 14 diff --git a/node_modules/react-native/Libraries/Text/TextInput/RCTBaseTextInputView.mm b/node_modules/react-native/Libraries/Text/TextInput/RCTBaseTextInputView.mm 15 15 index b0d71dc..41b9a0e 100644 16 16 --- a/node_modules/react-native/Libraries/Text/TextInput/RCTBaseTextInputView.mm