Skip to content

Commit

Permalink
Merge pull request #1097 from tchapgouv/1080-update-hide-discovery-em…
Browse files Browse the repository at this point in the history
…ail-phone-settings

feat(setting): hide personnal info
  • Loading branch information
MarcWadai authored Sep 4, 2024
2 parents e8553bc + 30b82d9 commit 68117c5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import SettingsTab from "../SettingsTab";
import { SettingsSection } from "../../shared/SettingsSection";
import SettingsSubsection, { SettingsSubsectionText } from "../../shared/SettingsSubsection";
import { SDKContext } from "../../../../../contexts/SDKContext";
import TchapUIFeature from '../../../../../../../../src/tchap/util/TchapUIFeature'; // :TCHAP: hide-discovery-email-phone-settings
import UserPersonalInfoSettings from "../../UserPersonalInfoSettings";

interface IProps {
Expand Down Expand Up @@ -202,7 +201,9 @@ export default class GeneralUserSettingsTab extends React.Component<IProps, ISta
canSetDisplayName={this.state.canSetDisplayName}
canSetAvatar={this.state.canSetAvatar}
/>
<UserPersonalInfoSettings canMake3pidChanges={this.state.canMake3pidChanges} />
{/* :TCHAP: hide-discovery-email-phone-settings-updated */}
{/* <UserPersonal InfoSettings canMake3pidChanges={this.state.canMake3pidChanges} /> */}
{/* end :TCHAP: */}
{this.renderAccountSection()}
</SettingsSection>
{accountManagementSection}
Expand Down
6 changes: 6 additions & 0 deletions patches/subtree-modifications.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,11 @@
"src/hooks/useUserOnboardingContext.ts"

]
},
"hide-discovery-email-phone-settings-updated": {
"issue": "https://github.com/tchapgouv/tchap-web-v4/issues/1080",
"files": [
"src/components/views/settings/tabs/user/GeneralUserSettingsTab.tsx"
]
}
}

0 comments on commit 68117c5

Please sign in to comment.