Enable detekt rules AlsoCouldBeApply and fix existing issues.
This commit is contained in:
parent
1d3aa2cd05
commit
d433c3cbaa
4 changed files with 8 additions and 10 deletions
|
|
@ -41,8 +41,7 @@ class CustomTabHandler @Inject constructor(
|
|||
if (packageName != null) {
|
||||
customTabsServiceConnection = object : CustomTabsServiceConnection() {
|
||||
override fun onCustomTabsServiceConnected(name: ComponentName, client: CustomTabsClient) {
|
||||
customTabsClient = client
|
||||
.also { it.warmup(0L) }
|
||||
customTabsClient = client.apply { warmup(0L) }
|
||||
prefetchUrl(url)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue