diff --git a/native/invite-links/invite-links-button.react.js b/native/components/community-actions-button.react.js rename from native/invite-links/invite-links-button.react.js rename to native/components/community-actions-button.react.js --- a/native/invite-links/invite-links-button.react.js +++ b/native/components/community-actions-button.react.js @@ -11,7 +11,7 @@ import { threadPermissions } from 'lib/types/thread-permission-types.js'; import type { ThreadInfo } from 'lib/types/thread-types.js'; -import SWMansionIcon from '../components/swmansion-icon.react.js'; +import SWMansionIcon from './swmansion-icon.react.js'; import { InviteLinkNavigatorRouteName, ManagePublicLinkRouteName, @@ -24,7 +24,7 @@ +community: ThreadInfo, }; -function InviteLinksButton(props: Props): React.Node { +function CommunityActionsButton(props: Props): React.Node { const { community } = props; const inviteLink = useSelector(primaryInviteLinksSelector)[community.id]; @@ -131,4 +131,4 @@ }, }; -export default InviteLinksButton; +export default CommunityActionsButton; diff --git a/native/navigation/community-drawer-item.react.js b/native/navigation/community-drawer-item.react.js --- a/native/navigation/community-drawer-item.react.js +++ b/native/navigation/community-drawer-item.react.js @@ -9,8 +9,8 @@ import SubchannelsButton from './subchannels-button.react.js'; import ThreadAvatar from '../avatars/thread-avatar.react.js'; import type { MessageListParams } from '../chat/message-list-types.js'; +import CommunityActionsButton from '../components/community-actions-button.react.js'; import { SingleLine } from '../components/single-line.react.js'; -import InviteLinksButton from '../invite-links/invite-links-button.react.js'; import { useStyles } from '../themes/colors.js'; import type { CommunityDrawerItemDataFlattened } from '../utils/drawer-utils.react.js'; @@ -90,7 +90,7 @@ {uiName} - + {subchannelsButton}