aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models/Validation/NameValidator.cs
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
commitb6b6c3089d42adc3d39aeb5efcbce7bdef09b3cb (patch)
tree9cbe0f8f6e6be22f66893b666ca537c0aebf268b /Timeline/Models/Validation/NameValidator.cs
parent6bf12fb184ee87ba28293ecc576915cbbeab0cf0 (diff)
parent668459f88fdef5f385759e53ee7f5206131da98b (diff)
downloadtimeline-b6b6c3089d42adc3d39aeb5efcbce7bdef09b3cb.tar.gz
timeline-b6b6c3089d42adc3d39aeb5efcbce7bdef09b3cb.tar.bz2
timeline-b6b6c3089d42adc3d39aeb5efcbce7bdef09b3cb.zip
Merge pull request #66 from crupest/timeline-name
Widen timeline name constraint.
Diffstat (limited to 'Timeline/Models/Validation/NameValidator.cs')
-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);
}