Remove a remote config flag

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2024-06-20 15:21:46 -05:00 committed by ayumi-signal
parent 71d6891132
commit 46690204c8
5 changed files with 3 additions and 20 deletions

View file

@ -10,7 +10,6 @@ import { Emojify } from './Emojify';
import type { ProfileNameChangeType } from '../../util/getStringForProfileChange';
import { getStringForProfileChange } from '../../util/getStringForProfileChange';
import { Button, ButtonSize, ButtonVariant } from '../Button';
import { areNicknamesEnabled } from '../../util/nicknames';
export type PropsType = {
change: ProfileNameChangeType;
@ -37,7 +36,6 @@ export function ProfileChangeNotification({
icon="profile"
contents={<Emojify text={message} />}
button={
areNicknamesEnabled() &&
(changedContact.nicknameGivenName != null ||
changedContact.nicknameFamilyName != null) && (
<Button