mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 03:49:04 +03:00
adding missing parameter from rebase and removing no longer needed singleton annotation
This commit is contained in:
parent
4748a385ea
commit
c16e3e09e6
1 changed files with 3 additions and 3 deletions
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
package im.vector.app.features.notifications
|
package im.vector.app.features.notifications
|
||||||
|
|
||||||
|
import android.content.Context
|
||||||
import androidx.annotation.WorkerThread
|
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_EVENT_NOTIFICATION_ID
|
||||||
import im.vector.app.features.notifications.NotificationDrawerManager.Companion.ROOM_INVITATION_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 androidx.core.content.pm.ShortcutManagerCompat
|
||||||
import timber.log.Timber
|
import timber.log.Timber
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
import javax.inject.Singleton
|
|
||||||
|
|
||||||
@Singleton
|
|
||||||
class NotificationRenderer @Inject constructor(private val notificationDisplayer: NotificationDisplayer,
|
class NotificationRenderer @Inject constructor(private val notificationDisplayer: NotificationDisplayer,
|
||||||
private val notificationFactory: NotificationFactory) {
|
private val notificationFactory: NotificationFactory,
|
||||||
|
private val appContext: Context) {
|
||||||
|
|
||||||
@WorkerThread
|
@WorkerThread
|
||||||
fun render(myUserId: String,
|
fun render(myUserId: String,
|
||||||
|
|
Loading…
Reference in a new issue