FakeProfileThemes: Fix broken ProfileModal find (#3766)

This commit is contained in:
thororen 2025-11-05 11:29:37 -05:00 • committed by GitHub
parent 6bbc4783cd
commit c9ebece84d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -95,10 +95,10 @@ interface ProfileModalProps {
canUsePremiumCustomization: boolean;
hideExampleButton: boolean;
hideFakeActivity: boolean;
isTryItOutFlow: boolean;
isTryItOut: boolean;
}
const ProfileModal = findComponentByCodeLazy<ProfileModalProps>("isTryItOutFlow:", "pendingThemeColors:", "pendingAvatarDecoration:", "EDIT_PROFILE_BANNER");
const ProfileModal = findComponentByCodeLazy<ProfileModalProps>("isTryItOut:", "pendingThemeColors:", "pendingAvatarDecoration:", "EDIT_PROFILE_BANNER");
function SettingsAboutComponentWrapper() {
const [, , userProfileLoading] = useAwaiter(() => fetchUserProfile(UserStore.getCurrentUser().id));
@ -188,7 +188,7 @@ function SettingsAboutComponent() {
canUsePremiumCustomization={true}
hideExampleButton={true}
hideFakeActivity={true}
isTryItOutFlow={true}
isTryItOut={true}
/>
</div>
</Forms.FormText>