Use new SessionStore API

This commit is contained in:
Benoit Marty 2025-11-04 16:22:16 +01:00
parent e96cd9e28f
commit dd328c5a08

View file

@ -44,7 +44,7 @@ class NotificationRenderer(
) { ) {
val color = enterpriseService.brandColorsFlow(currentUser.userId).first()?.toArgb() val color = enterpriseService.brandColorsFlow(currentUser.userId).first()?.toArgb()
?: NotificationConfig.NOTIFICATION_ACCENT_COLOR ?: NotificationConfig.NOTIFICATION_ACCENT_COLOR
val numberOfAccounts = sessionStore.getAllSessions().size val numberOfAccounts = sessionStore.numberOfSessions()
val notificationAccountParams = NotificationAccountParams( val notificationAccountParams = NotificationAccountParams(
user = currentUser, user = currentUser,
color = color, color = color,