1
0
Fork 0

For #357 - Removes unneeded if statement

master
Jeff Boek 2019-02-15 15:45:14 -08:00
parent 007cefa281
commit d3c0aa20c1
1 changed files with 1 additions and 4 deletions

View File

@ -124,8 +124,5 @@ class HistoryFragment : Fragment(), CoroutineScope, BackHandler {
}
}
override fun onBackPressed(): Boolean {
if ((historyComponent.uiView as HistoryUIView).onBackPressed()) { return true }
return false
}
override fun onBackPressed(): Boolean = (historyComponent.uiView as HistoryUIView).onBackPressed()
}