Skip to content

Commit

Permalink
fix: token gated room & community icons, fix room title input ref
Browse files Browse the repository at this point in the history
  • Loading branch information
ifaouibadi committed Jan 16, 2024
1 parent 3fffbb5 commit 505abd5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions res/themes/superhero/img/icons/community-room.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions res/themes/superhero/img/icons/tokengated-room.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/components/views/rooms/RoomTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -479,11 +479,12 @@ export class RoomTile extends React.PureComponent<ClassProps, State> {
return (
<React.Fragment>
<RovingTabIndexWrapper inputRef={this.roomTileRef}>
{({ onFocus, isActive }): ReactElement<any, any> => (
{({ onFocus, isActive, ref }): ReactElement<any, any> => (
<Button
{...props}
onFocus={onFocus}
tabIndex={isActive ? 0 : -1}
ref={ref}
className={classes}
onClick={this.onTileClick}
onContextMenu={this.onContextMenu}
Expand Down

0 comments on commit 505abd5

Please sign in to comment.