Restrict edit description to V2 and remove feature flag.

This commit is contained in:
Cody Henthorne
2021-06-07 20:07:49 -04:00
committed by GitHub
parent 57c0b8fd0f
commit 6f6a6826d9
3 changed files with 3 additions and 10 deletions

View File

@@ -184,7 +184,7 @@ public class EditProfileFragment extends LoggingFragment {
toolbar.setTitle(R.string.EditProfileFragment__edit_group);
preview.setVisibility(View.GONE);
if (FeatureFlags.groupsV2Description()) {
if (groupId.isV2()) {
EditTextUtil.addGraphemeClusterLimitFilter(familyName, MAX_DESCRIPTION_GLYPHS);
familyName.addTextChangedListener(new AfterTextChanged(s -> {
EditProfileNameFragment.trimFieldToMaxByteLength(s, MAX_DESCRIPTION_BYTES);