mirror of
https://github.com/SimpleMobileTools/Simple-Voice-Recorder.git
synced 2025-06-05 21:59:31 +02:00
add a Select All menu button at the recordings menu
This commit is contained in:
@@ -61,6 +61,7 @@ class RecordingsAdapter(
|
||||
R.id.cab_rename -> renameRecording()
|
||||
R.id.cab_share -> shareRecordings()
|
||||
R.id.cab_delete -> askConfirmDelete()
|
||||
R.id.cab_select_all -> selectAll()
|
||||
R.id.cab_open_with -> openRecordingWith()
|
||||
}
|
||||
}
|
||||
@@ -269,6 +270,7 @@ class RecordingsAdapter(
|
||||
|
||||
PopupMenu(contextTheme, view, Gravity.END).apply {
|
||||
inflate(getActionMenuId())
|
||||
menu.findItem(R.id.cab_select_all).isVisible = false
|
||||
setOnMenuItemClickListener { item ->
|
||||
val recordingId = recording.id
|
||||
when (item.itemId) {
|
||||
|
Reference in New Issue
Block a user