mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-06-21 04:09:27 -04:00
refactor(messages): add back button
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user