aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-02-29 18:12:13 +0800
committerGitHub <noreply@github.com>2020-02-29 18:12:13 +0800
commit11ab08bc1b61636e0681914c62794720e4ac6ac4 (patch)
tree9cbe0f8f6e6be22f66893b666ca537c0aebf268b /Timeline/Models
parent1d5e54dead00c08b500b9d40ec4f86d2554a0aab (diff)
parentb43b480d3c50b3f12cf01750c0951ece1fe70119 (diff)
downloadtimeline-11ab08bc1b61636e0681914c62794720e4ac6ac4.tar.gz
timeline-11ab08bc1b61636e0681914c62794720e4ac6ac4.tar.bz2
timeline-11ab08bc1b61636e0681914c62794720e4ac6ac4.zip
Merge pull request #66 from crupest/timeline-name
Widen timeline name constraint.
Diffstat (limited to 'Timeline/Models')
-rw-r--r--Timeline/Models/Validation/NameValidator.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Models/Validation/NameValidator.cs b/Timeline/Models/Validation/NameValidator.cs
index 8db10ebd..dec2b872 100644
--- a/Timeline/Models/Validation/NameValidator.cs
+++ b/Timeline/Models/Validation/NameValidator.cs
@@ -14,7 +14,7 @@ namespace Timeline.Models.Validation
return (false, MessageEmptyString);
}
- if (value.Length > 26)
+ if (value.Length > MaxLength)
{
return (false, MessageTooLong);
}