Change redundant sealed class to interface
This commit is contained in:
parent
74591f5261
commit
c401d55dea
@ -23,8 +23,8 @@ import javax.inject.Inject
|
||||
class AttachmentTypeSelectorSharedActionViewModel @Inject constructor() :
|
||||
VectorSharedActionViewModel<AttachmentTypeSelectorSharedAction>()
|
||||
|
||||
sealed class AttachmentTypeSelectorSharedAction : VectorSharedAction {
|
||||
sealed interface AttachmentTypeSelectorSharedAction : VectorSharedAction {
|
||||
data class SelectAttachmentTypeAction(
|
||||
val attachmentType: AttachmentType
|
||||
) : AttachmentTypeSelectorSharedAction()
|
||||
) : AttachmentTypeSelectorSharedAction
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user