|
@@ -199,6 +199,8 @@ class FileActionsBottomSheet : BottomSheetDialogFragment(), Injectable {
|
|
private fun displayActions(
|
|
private fun displayActions(
|
|
actions: List<FileAction>
|
|
actions: List<FileAction>
|
|
) {
|
|
) {
|
|
|
|
+ binding.fileActionsList.removeAllViews()
|
|
|
|
+
|
|
actions.forEach { action ->
|
|
actions.forEach { action ->
|
|
val view = inflateActionView(action)
|
|
val view = inflateActionView(action)
|
|
binding.fileActionsList.addView(view)
|
|
binding.fileActionsList.addView(view)
|