mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor(messages): add back button
This commit is contained in:
parent
c26b6dd7ac
commit
fdb94fb547
2 changed files with 8 additions and 4 deletions
|
|
@ -242,6 +242,10 @@ class MessagesFragment : Fragment(), Logging {
|
|||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
||||
super.onViewCreated(view, savedInstanceState)
|
||||
|
||||
binding.toolbar.setNavigationOnClickListener {
|
||||
parentFragmentManager.popBackStack()
|
||||
}
|
||||
|
||||
setFragmentResultListener("requestKey") { _, bundle->
|
||||
// get the result from bundle
|
||||
contactKey = bundle.getString("contactKey").toString()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue