Suppress ComplexMethod error for openToBrowser

nightly-build-test
ekager 5 years ago committed by Emily Kager
parent ecdbdda94e
commit 0143c54817

@ -163,6 +163,7 @@ open class HomeActivity : AppCompatActivity() {
load(searchTermOrURL, newTab, engine, forceSearch)
}
@Suppress("ComplexMethod")
fun openToBrowser(from: BrowserDirection, customTabSessionId: String? = null) {
val directions = when (from) {
BrowserDirection.FromGlobal -> NavGraphDirections.actionGlobalBrowser(customTabSessionId)

Loading…
Cancel
Save