mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-25 23:39:00 +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() :
|
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue