mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
Closes #4080 - Trim New Bookmark Folder Title Text
This commit is contained in:
parent
110dd732e2
commit
6b4c160d18
@ -77,8 +77,9 @@ class AddBookmarkFolderFragment : Fragment() {
|
||||
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
||||
return when (item.itemId) {
|
||||
R.id.confirm_add_folder_button -> {
|
||||
if (bookmark_add_folder_title_edit.text.isNullOrEmpty()) {
|
||||
bookmark_add_folder_title_edit.error = getString(R.string.bookmark_empty_title_error)
|
||||
if (bookmark_add_folder_title_edit.text.isNullOrBlank()) {
|
||||
bookmark_add_folder_title_edit.error =
|
||||
getString(R.string.bookmark_empty_title_error)
|
||||
return true
|
||||
}
|
||||
lifecycleScope.launch(IO) {
|
||||
|
Loading…
Reference in New Issue
Block a user