mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Enable detekt rules AlsoCouldBeApply and fix existing issues.
This commit is contained in:
committed by
Benoit Marty
parent
e0255777c0
commit
19e81825ff
+1
-2
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user