mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 17:35:54 +03:00
Remove redundant returns
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
This commit is contained in:
parent
92ceb0e8fb
commit
33a5cc1488
1 changed files with 3 additions and 3 deletions
|
@ -43,11 +43,11 @@ internal class DefaultIntegrationManagerService @Inject constructor(private val
|
|||
}
|
||||
|
||||
override suspend fun setIntegrationEnabled(enable: Boolean) {
|
||||
return integrationManager.setIntegrationEnabled(enable)
|
||||
integrationManager.setIntegrationEnabled(enable)
|
||||
}
|
||||
|
||||
override suspend fun setWidgetAllowed(stateEventId: String, allowed: Boolean) {
|
||||
return integrationManager.setWidgetAllowed(stateEventId, allowed)
|
||||
integrationManager.setWidgetAllowed(stateEventId, allowed)
|
||||
}
|
||||
|
||||
override fun isWidgetAllowed(stateEventId: String): Boolean {
|
||||
|
@ -55,7 +55,7 @@ internal class DefaultIntegrationManagerService @Inject constructor(private val
|
|||
}
|
||||
|
||||
override suspend fun setNativeWidgetDomainAllowed(widgetType: String, domain: String, allowed: Boolean) {
|
||||
return integrationManager.setNativeWidgetDomainAllowed(widgetType, domain, allowed)
|
||||
integrationManager.setNativeWidgetDomainAllowed(widgetType, domain, allowed)
|
||||
}
|
||||
|
||||
override fun isNativeWidgetDomainAllowed(widgetType: String, domain: String): Boolean {
|
||||
|
|
Loading…
Reference in a new issue