Support gv2 avatar removal.

This commit is contained in:
Alan Evans
2020-05-14 15:57:40 -03:00
committed by GitHub
parent d726da822c
commit 3b673c07a0
5 changed files with 27 additions and 21 deletions

View File

@@ -90,7 +90,7 @@ class EditProfileViewModel extends ViewModel {
}
public boolean canRemoveProfilePhoto() {
return (!isGroup() || groupId.isV1()) && hasAvatar();
return hasAvatar();
}
@MainThread