mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
Remove redundant returns
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
This commit is contained in:
parent
92ceb0e8fb
commit
33a5cc1488
@ -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 New Issue
Block a user