diff --git a/vector/src/main/java/im/vector/app/features/settings/devices/v2/list/OtherSessionsController.kt b/vector/src/main/java/im/vector/app/features/settings/devices/v2/list/OtherSessionsController.kt index 9193479b74..8d70552101 100644 --- a/vector/src/main/java/im/vector/app/features/settings/devices/v2/list/OtherSessionsController.kt +++ b/vector/src/main/java/im/vector/app/features/settings/devices/v2/list/OtherSessionsController.kt @@ -72,9 +72,9 @@ class OtherSessionsController @Inject constructor( sessionDescription(description) sessionDescriptionDrawable(descriptionDrawable) sessionDescriptionColor(descriptionColor) - stringProvider(this@OtherSessionsController.stringProvider) - colorProvider(this@OtherSessionsController.colorProvider) - drawableProvider(this@OtherSessionsController.drawableProvider) + stringProvider(host.stringProvider) + colorProvider(host.colorProvider) + drawableProvider(host.drawableProvider) selected(device.isSelected) clickListener { device.deviceInfo.deviceId?.let { host.callback?.onItemClicked(it) } } onLongClickListener(View.OnLongClickListener {