mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4080 - Trim New Bookmark Folder Title Text
This commit is contained in:
parent
d7da01235a
commit
669ddbca83
@ -77,8 +77,9 @@ class AddBookmarkFolderFragment : Fragment() {
|
|||||||
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
||||||
return when (item.itemId) {
|
return when (item.itemId) {
|
||||||
R.id.confirm_add_folder_button -> {
|
R.id.confirm_add_folder_button -> {
|
||||||
if (bookmark_add_folder_title_edit.text.isNullOrEmpty()) {
|
if (bookmark_add_folder_title_edit.text.isNullOrBlank()) {
|
||||||
bookmark_add_folder_title_edit.error = getString(R.string.bookmark_empty_title_error)
|
bookmark_add_folder_title_edit.error =
|
||||||
|
getString(R.string.bookmark_empty_title_error)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
lifecycleScope.launch(IO) {
|
lifecycleScope.launch(IO) {
|
||||||
|
Loading…
Reference in New Issue
Block a user