mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/357 - Removes unneeded if statement
This commit is contained in:
parent
4c1dcb7383
commit
55fc77fcb6
@ -124,8 +124,5 @@ class HistoryFragment : Fragment(), CoroutineScope, BackHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onBackPressed(): Boolean {
|
override fun onBackPressed(): Boolean = (historyComponent.uiView as HistoryUIView).onBackPressed()
|
||||||
if ((historyComponent.uiView as HistoryUIView).onBackPressed()) { return true }
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user