Change signature of getCurrentDistributor.
This commit is contained in:
parent
500659d4e1
commit
f0aca004ba
9 changed files with 13 additions and 16 deletions
|
|
@ -93,7 +93,7 @@ class NotificationSettingsPresenter @Inject constructor(
|
|||
|
||||
LaunchedEffect(refreshPushProvider) {
|
||||
val p = pushService.getCurrentPushProvider()
|
||||
val name = p?.getCurrentDistributor(matrixClient)?.name
|
||||
val name = p?.getCurrentDistributor(matrixClient.sessionId)?.name
|
||||
currentDistributorName = if (name != null) {
|
||||
AsyncData.Success(name)
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue