1
0
Fork 0

For #6594 - Trigger keyboard automatically when creating a bookmark folder

master
cesar 2019-11-16 17:45:25 -03:00 committed by Emily Kager
parent d69ead201b
commit 560fa7a5b5
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import mozilla.appservices.places.BookmarkRoot
import mozilla.components.support.ktx.android.view.hideKeyboard
import mozilla.components.support.ktx.android.view.showKeyboard
import org.mozilla.fenix.R
import org.mozilla.fenix.components.metrics.Event
import org.mozilla.fenix.ext.nav
@ -49,6 +50,7 @@ class AddBookmarkFolderFragment : Fragment(R.layout.fragment_edit_bookmark) {
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
bookmarkUrlLabel.visibility = GONE
bookmarkUrlEdit.visibility = GONE
bookmarkNameEdit.showKeyboard()
}
override fun onResume() {