@ -76,12 +76,12 @@ const Firehose = ({ feedType, multiColumn }) => {
const { signedIn } = useIdentity ( ) ;
const { signedIn } = useIdentity ( ) ;
const columnRef = useRef ( null ) ;
const columnRef = useRef ( null ) ;
const onlyMedia = useAppSelector ( ( state ) => state . getIn ( [ 'settings' , 'firehose' , 'onlyMedia' ] , false ) ) ;
const hasUnread = useAppSelector ( ( state ) => state . getIn ( [ 'timelines' , ` ${ feedType } ${ onlyMedia ? ':media' : '' } ` , 'unread' ] , 0 ) > 0 ) ;
const allowLocalOnly = useAppSelector ( ( state ) => state . getIn ( [ 'settings' , 'firehose' , 'allowLocalOnly' ] ) ) ;
const allowLocalOnly = useAppSelector ( ( state ) => state . getIn ( [ 'settings' , 'firehose' , 'allowLocalOnly' ] ) ) ;
const regex = useAppSelector ( ( state ) => state . getIn ( [ 'settings' , 'firehose' , 'regex' , 'body' ] ) ) ;
const regex = useAppSelector ( ( state ) => state . getIn ( [ 'settings' , 'firehose' , 'regex' , 'body' ] ) ) ;
const onlyMedia = useAppSelector ( ( state ) => state . getIn ( [ 'settings' , 'firehose' , 'onlyMedia' ] , false ) ) ;
const hasUnread = useAppSelector ( ( state ) => state . getIn ( [ 'timelines' , ` ${ feedType } ${ feedType === 'public' && allowLocalOnly ? ':allow_local_only' : '' } ${ onlyMedia ? ':media' : '' } ` , 'unread' ] , 0 ) > 0 ) ;
const handlePin = useCallback (
const handlePin = useCallback (
( ) => {
( ) => {
switch ( feedType ) {
switch ( feedType ) {