Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

Modify self labels for clarity

authored by

Paul Frazee and committed by
dan
9640f08b ea0a1c32

+20 -18
+20 -18
src/view/com/composer/labels/LabelsBtn.tsx
··· 158 158 <Toggle.Item name="porn" label={_(msg`Porn`)}> 159 159 <Toggle.Checkbox /> 160 160 <Toggle.LabelText> 161 - <Trans>Porn</Trans> 161 + <Trans>Adult</Trans> 162 162 </Toggle.LabelText> 163 163 </Toggle.Item> 164 164 </View> 165 165 </Toggle.Group> 166 - <Text style={[a.mt_sm, t.atoms.text_contrast_medium]}> 167 - {labels.includes('sexual') ? ( 168 - <Trans>Pictures meant for adults.</Trans> 169 - ) : labels.includes('nudity') ? ( 170 - <Trans>Artistic or non-erotic nudity.</Trans> 171 - ) : labels.includes('porn') ? ( 172 - <Trans>Sexual activity or erotic nudity.</Trans> 173 - ) : ( 174 - <Trans>Does not contain adult content.</Trans> 175 - )} 176 - </Text> 166 + {labels.includes('sexual') || 167 + labels.includes('nudity') || 168 + labels.includes('porn') ? ( 169 + <Text style={[a.mt_sm, t.atoms.text_contrast_medium]}> 170 + {labels.includes('sexual') ? ( 171 + <Trans>Pictures meant for adults.</Trans> 172 + ) : labels.includes('nudity') ? ( 173 + <Trans>Artistic or non-erotic nudity.</Trans> 174 + ) : labels.includes('porn') ? ( 175 + <Trans>Sexual activity or erotic nudity.</Trans> 176 + ) : ( 177 + '' 178 + )} 179 + </Text> 180 + ) : null} 177 181 </View> 178 182 </View> 179 183 <View> ··· 203 207 </Toggle.LabelText> 204 208 </Toggle.Item> 205 209 </Toggle.Group> 206 - <Text style={[a.mt_sm, t.atoms.text_contrast_medium]}> 207 - {labels.includes('graphic-media') ? ( 210 + {labels.includes('graphic-media') ? ( 211 + <Text style={[a.mt_sm, t.atoms.text_contrast_medium]}> 208 212 <Trans> 209 213 Media that may be disturbing or inappropriate for some 210 214 audiences. 211 215 </Trans> 212 - ) : ( 213 - <Trans>Does not contain graphic or disturbing content.</Trans> 214 - )} 215 - </Text> 216 + </Text> 217 + ) : null} 216 218 </View> 217 219 </View> 218 220 </View>