adding missing parameter from rebase and removing no longer needed singleton annotation

This commit is contained in:
Adam Brown 2021-10-14 16:56:15 +01:00
parent 4748a385ea
commit c16e3e09e6
1 changed files with 3 additions and 3 deletions

View File

@ -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,