1
0
Fork 0

For #2414 - Fixes custom tab crash

master
Jeff Boek 2019-05-20 14:54:34 -07:00
parent ec1a0e6c34
commit b54628210b
1 changed files with 1 additions and 5 deletions

View File

@ -710,11 +710,7 @@ class BrowserFragment : Fragment(), BackHandler, CoroutineScope {
private fun getSessionById(): Session? {
return if (customTabSessionId != null) {
requireNotNull(
requireContext().components.core.sessionManager.findSessionById(
customTabSessionId!!
)
)
requireContext().components.core.sessionManager.findSessionById(customTabSessionId!!)
} else {
requireComponents.core.sessionManager.selectedSession
}