Skip to content

Commit

Permalink
remove plus icon
Browse files Browse the repository at this point in the history
  • Loading branch information
cretadn22 committed Nov 15, 2024
1 parent 88713ab commit 61a7fca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 64 deletions.
62 changes: 0 additions & 62 deletions src/pages/WorkspaceSwitcherPage/WorkspacesSectionHeader.tsx

This file was deleted.

10 changes: 8 additions & 2 deletions src/pages/WorkspaceSwitcherPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import CONST from '@src/CONST';
import ONYXKEYS from '@src/ONYXKEYS';
import {isEmptyObject} from '@src/types/utils/EmptyObject';
import WorkspaceCardCreateAWorkspace from './WorkspaceCardCreateAWorkspace';
import WorkspacesSectionHeader from './WorkspacesSectionHeader';

type WorkspaceListItem = {
text: string;
Expand Down Expand Up @@ -183,7 +182,14 @@ function WorkspaceSwitcherPage() {
pressableStyle={styles.flexRow}
shouldSyncFocus={false}
/>
<WorkspacesSectionHeader shouldShowCreateWorkspaceIcon={!shouldShowCreateWorkspace} />
<View style={[styles.ph5, styles.flexRow, styles.justifyContentBetween, styles.alignItemsCenter, styles.mv2]}>
<Text
style={styles.label}
color={theme.textSupporting}
>
{translate('common.workspaces')}
</Text>
</View>
<SelectionList<WorkspaceListItem>
ListItem={UserListItem}
sections={sections}
Expand Down

0 comments on commit 61a7fca

Please sign in to comment.