From c401d55dea49b47f2e3123ed385c092d73dbfeda Mon Sep 17 00:00:00 2001 From: Jonny Andrew Date: Mon, 24 Oct 2022 09:21:52 +0100 Subject: [PATCH] Change redundant sealed class to interface --- .../AttachmentTypeSelectorSharedActionViewModel.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/attachments/AttachmentTypeSelectorSharedActionViewModel.kt b/vector/src/main/java/im/vector/app/features/attachments/AttachmentTypeSelectorSharedActionViewModel.kt index 2b85b6882a..e02b10c54b 100644 --- a/vector/src/main/java/im/vector/app/features/attachments/AttachmentTypeSelectorSharedActionViewModel.kt +++ b/vector/src/main/java/im/vector/app/features/attachments/AttachmentTypeSelectorSharedActionViewModel.kt @@ -23,8 +23,8 @@ import javax.inject.Inject class AttachmentTypeSelectorSharedActionViewModel @Inject constructor() : VectorSharedActionViewModel() -sealed class AttachmentTypeSelectorSharedAction : VectorSharedAction { +sealed interface AttachmentTypeSelectorSharedAction : VectorSharedAction { data class SelectAttachmentTypeAction( val attachmentType: AttachmentType - ) : AttachmentTypeSelectorSharedAction() + ) : AttachmentTypeSelectorSharedAction }