fix build

This commit is contained in:
Milos Kozak 2021-09-06 13:50:58 +02:00
parent dbf1772397
commit 679a63f757

View file

@ -110,8 +110,8 @@ class OHLoginActivity : DaggerAppCompatActivity() {
}
}
override fun onOptionsItemSelected(item: MenuItem?) =
if (item?.itemId == android.R.id.home) {
override fun onOptionsItemSelected(item: MenuItem): Boolean =
if (item.itemId == android.R.id.home) {
onBackPressed()
true
} else {