mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
meshtastic#73 'Resend Button' on message selection
This commit is contained in:
parent
1ca1642cb9
commit
6f9f2c4b04
5 changed files with 24 additions and 0 deletions
|
|
@ -305,6 +305,14 @@ class MessagesFragment : Fragment(), Logging {
|
|||
actionMode?.title = selectedList.size.toString()
|
||||
notifyDataSetChanged()
|
||||
}
|
||||
R.id.resendButton -> {
|
||||
debug("User clicked resendButton")
|
||||
var resendText:String = ""
|
||||
selectedList.forEach {
|
||||
resendText = resendText + it.text + System.lineSeparator()
|
||||
binding.messageInputText.setText(resendText)
|
||||
}
|
||||
}
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue