increase the allowed event title length to 80

This commit is contained in:
tibbi 2017-05-15 22:46:51 +02:00
parent 0eb8caa60b
commit ccc3a37792
3 changed files with 3 additions and 3 deletions

View File

@ -168,7 +168,7 @@ class IcsImporter {
return if (title.startsWith(";") && title.contains(":")) {
title.substring(title.lastIndexOf(':') + 1)
} else {
title.substring(1, Math.min(title.length, 50))
title.substring(1, Math.min(title.length, 80))
}
}

View File

@ -21,7 +21,7 @@
android:layout_marginTop="@dimen/activity_margin"
android:hint="@string/title"
android:inputType="textCapSentences"
android:maxLength="50"
android:maxLength="80"
android:maxLines="1"
android:minEms="20"
android:textCursorDrawable="@null"

View File

@ -23,7 +23,7 @@
android:layout_marginLeft="@dimen/small_margin"
android:layout_marginStart="@dimen/small_margin"
android:inputType="textCapSentences"
android:maxLength="50"
android:maxLength="80"
android:singleLine="true"
android:textCursorDrawable="@null"/>