mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 05:13:53 +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?) {
|
fun setTitleText(titleText: String?) {
|
||||||
this.titleText = titleText
|
this.titleText=titleText?.trim()
|
||||||
if (!TextUtils.isEmpty(titleText)) {
|
if (!TextUtils.isEmpty(titleText)) {
|
||||||
isSet = true
|
isSet = true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue