Change redundant sealed class to interface

This commit is contained in:
Jonny Andrew 2022-10-24 09:21:52 +01:00
parent 74591f5261
commit c401d55dea
No known key found for this signature in database
GPG Key ID: 2B6F5CF6A1EEB0B8
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@ import javax.inject.Inject
class AttachmentTypeSelectorSharedActionViewModel @Inject constructor() : class AttachmentTypeSelectorSharedActionViewModel @Inject constructor() :
VectorSharedActionViewModel<AttachmentTypeSelectorSharedAction>() VectorSharedActionViewModel<AttachmentTypeSelectorSharedAction>()
sealed class AttachmentTypeSelectorSharedAction : VectorSharedAction { sealed interface AttachmentTypeSelectorSharedAction : VectorSharedAction {
data class SelectAttachmentTypeAction( data class SelectAttachmentTypeAction(
val attachmentType: AttachmentType val attachmentType: AttachmentType
) : AttachmentTypeSelectorSharedAction() ) : AttachmentTypeSelectorSharedAction
} }