removing unused default constructor param and making queue a data class since it's only manipulating its own internal data
This commit is contained in:
parent
fef604bfb9
commit
55fd362b3d
@ -18,8 +18,8 @@ package im.vector.app.features.notifications
|
||||
|
||||
import timber.log.Timber
|
||||
|
||||
class NotificationEventQueue(
|
||||
private val queue: MutableList<NotifiableEvent> = mutableListOf(),
|
||||
data class NotificationEventQueue(
|
||||
private val queue: MutableList<NotifiableEvent>,
|
||||
|
||||
/**
|
||||
* An in memory FIFO cache of the seen events.
|
||||
|
Loading…
x
Reference in New Issue
Block a user