Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

Fix accidental unwrapped strings (#1826)

authored by

dan and committed by
GitHub
a4baf14e d715246e

+7 -7
+2 -2
src/view/com/composer/ExternalEmbed.tsx
··· 51 51 {link.meta.description} 52 52 </Text> 53 53 )} 54 - {!!link.meta?.error && ( 54 + {link.meta?.error ? ( 55 55 <Text 56 56 type="sm" 57 57 numberOfLines={2} 58 58 style={[{color: palError.colors.background}, styles.description]}> 59 59 {link.meta.error} 60 60 </Text> 61 - )} 61 + ) : null} 62 62 </View> 63 63 <TouchableOpacity 64 64 style={styles.removeBtn}
+2 -2
src/view/com/modals/ChangeHandle.tsx
··· 484 484 </Text> 485 485 </View> 486 486 )} 487 - {error && ( 487 + {error ? ( 488 488 <View style={[styles.message, palError.view]}> 489 489 <Text type="md-medium" style={palError.text}> 490 490 {error} 491 491 </Text> 492 492 </View> 493 - )} 493 + ) : null} 494 494 <Button 495 495 type="primary" 496 496 style={[s.p20, isVerifying && styles.dimmed]}
+2 -2
src/view/screens/Feeds.tsx
··· 284 284 <Text type="lg-medium" style={pal.text} numberOfLines={1}> 285 285 {feed.displayName} 286 286 </Text> 287 - {feed.error && ( 287 + {feed.error ? ( 288 288 <View style={[styles.offlineSlug, pal.borderDark]}> 289 289 <Text type="xs" style={pal.textLight}> 290 290 Feed offline 291 291 </Text> 292 292 </View> 293 - )} 293 + ) : null} 294 294 </View> 295 295 {isMobile && ( 296 296 <FontAwesomeIcon
+1 -1
src/view/screens/ProfileList.tsx
··· 250 250 return ( 251 251 <CenteredView sideBorders style={s.hContentRegion}> 252 252 <Header rkey={rkey} list={list} /> 253 - {list.error && <ErrorScreen error={list.error} />} 253 + {list.error ? <ErrorScreen error={list.error} /> : null} 254 254 </CenteredView> 255 255 ) 256 256 },