mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-10-08 03:21:23 -04:00
refactor(messages): add back button
This commit is contained in:
1 parent
c26b6dd7ac
commit
fdb94fb547
2 files changed
+8
-4
No files matched your search
@@ -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