mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/24935: Dismiss keyboard on add address fragment stop.
This commit is contained in:
parent
caa53eb6e9
commit
26c0baa914
@ -8,6 +8,7 @@ import android.os.Bundle
|
||||
import android.view.View
|
||||
import androidx.lifecycle.lifecycleScope
|
||||
import androidx.navigation.fragment.findNavController
|
||||
import mozilla.components.support.ktx.android.view.hideKeyboard
|
||||
import org.mozilla.fenix.R
|
||||
import org.mozilla.fenix.SecureFragment
|
||||
import org.mozilla.fenix.databinding.FragmentAddressEditorBinding
|
||||
@ -49,4 +50,9 @@ class AddressEditorFragment : SecureFragment(R.layout.fragment_address_editor) {
|
||||
super.onResume()
|
||||
showToolbar(getString(R.string.addresses_add_address))
|
||||
}
|
||||
|
||||
override fun onStop() {
|
||||
super.onStop()
|
||||
this.view?.hideKeyboard()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user