mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/6594 - Trigger keyboard automatically when creating a bookmark folder
This commit is contained in:
parent
1f32a65e4e
commit
9bc3f93df4
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user