Skip to content
Snippets Groups Projects
Commit 836f5b69 authored by Ahmed Shehata's avatar Ahmed Shehata
Browse files

Merge branch 'create-group-name-min-chars' into 'development'

Sets the minimum to more or equal 4 chars on creating a group name

See merge request elixxir/client-ios!17
parents 0a576af2 8c185044
No related branches found
No related tags found
3 merge requests!361.1.1b141,!29Development 2.1 version release,!17Sets the minimum to more or equal 4 chars on creating a group name
......@@ -44,7 +44,7 @@ final class CreatePopupViewModel {
private func validate() {
let value = stateRelay.value.groupName.trimmingCharacters(in: .whitespacesAndNewlines)
guard value.count > 4 else {
guard value.count >= 4 else {
stateRelay.value.status = .invalid(Localized.CreateGroup.Popup.minimum)
return
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment