We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d86fe5d commit d235e5aCopy full SHA for d235e5a
app/src/main/java/fr/free/nrw/commons/upload/Title.kt
@@ -14,7 +14,7 @@ class Title {
14
}
15
16
fun setTitleText(titleText: String?) {
17
- this.titleText = titleText
+ this.titleText=titleText?.trim()
18
if (!TextUtils.isEmpty(titleText)) {
19
isSet = true
20
@@ -26,4 +26,4 @@ class Title {
26
fun getTitleText(): String? {
27
return titleText
28
29
-}
+}
0 commit comments