From 0da9be327ac2fc0ba302c6665563600fe22cfc22 Mon Sep 17 00:00:00 2001 From: Valere Date: Tue, 16 Mar 2021 11:00:39 +0100 Subject: [PATCH] Removed unneeded id.home menu handling --- .../vector/app/features/spaces/SpaceCreationActivity.kt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/spaces/SpaceCreationActivity.kt b/vector/src/main/java/im/vector/app/features/spaces/SpaceCreationActivity.kt index ed8b85f587..c5dd09ee84 100644 --- a/vector/src/main/java/im/vector/app/features/spaces/SpaceCreationActivity.kt +++ b/vector/src/main/java/im/vector/app/features/spaces/SpaceCreationActivity.kt @@ -19,7 +19,6 @@ package im.vector.app.features.spaces import android.content.Context import android.content.Intent import android.os.Bundle -import android.view.MenuItem import androidx.appcompat.app.AlertDialog import androidx.fragment.app.Fragment import com.airbnb.mvrx.Loading @@ -65,14 +64,6 @@ class SpaceCreationActivity : SimpleFragmentActivity(), CreateSpaceViewModel.Fac } } - override fun onOptionsItemSelected(item: MenuItem): Boolean { - if (item.itemId == android.R.id.home) { - onBackPressed() - return true - } - return super.onOptionsItemSelected(item) - } - override fun initUiAndData() { super.initUiAndData() viewModel.subscribe(this) {