Use new SessionStore API
This commit is contained in:
parent
e96cd9e28f
commit
dd328c5a08
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue