adding missing parameter from rebase and removing no longer needed singleton annotation
This commit is contained in:
parent
4748a385ea
commit
c16e3e09e6
|
@ -15,6 +15,7 @@
|
|||
*/
|
||||
package im.vector.app.features.notifications
|
||||
|
||||
import android.content.Context
|
||||
import androidx.annotation.WorkerThread
|
||||
import im.vector.app.features.notifications.NotificationDrawerManager.Companion.ROOM_EVENT_NOTIFICATION_ID
|
||||
import im.vector.app.features.notifications.NotificationDrawerManager.Companion.ROOM_INVITATION_NOTIFICATION_ID
|
||||
|
@ -23,11 +24,10 @@ import im.vector.app.features.notifications.NotificationDrawerManager.Companion.
|
|||
import androidx.core.content.pm.ShortcutManagerCompat
|
||||
import timber.log.Timber
|
||||
import javax.inject.Inject
|
||||
import javax.inject.Singleton
|
||||
|
||||
@Singleton
|
||||
class NotificationRenderer @Inject constructor(private val notificationDisplayer: NotificationDisplayer,
|
||||
private val notificationFactory: NotificationFactory) {
|
||||
private val notificationFactory: NotificationFactory,
|
||||
private val appContext: Context) {
|
||||
|
||||
@WorkerThread
|
||||
fun render(myUserId: String,
|
||||
|
|
Loading…
Reference in New Issue