mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Trim WhiteSpaces from Image-Title while upload
This commit is contained in:
parent
d86fe5d8c5
commit
d235e5a85b
1 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ class Title {
|
|||
}
|
||||
|
||||
fun setTitleText(titleText: String?) {
|
||||
this.titleText = titleText
|
||||
this.titleText=titleText?.trim()
|
||||
if (!TextUtils.isEmpty(titleText)) {
|
||||
isSet = true
|
||||
}
|
||||
|
|
@ -26,4 +26,4 @@ class Title {
|
|||
fun getTitleText(): String? {
|
||||
return titleText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue