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
|
import timber.log.Timber
|
||||||
|
|
||||||
class NotificationEventQueue(
|
data class NotificationEventQueue(
|
||||||
private val queue: MutableList<NotifiableEvent> = mutableListOf(),
|
private val queue: MutableList<NotifiableEvent>,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An in memory FIFO cache of the seen events.
|
* An in memory FIFO cache of the seen events.
|
||||||
|
|
Loading…
Reference in New Issue