mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +03:00
Change redundant sealed class to interface
This commit is contained in:
parent
74591f5261
commit
c401d55dea
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue