diff --git a/app/src/main/java/foundation/e/accountmanager/ui/setup/CreateAccountActivity.kt b/app/src/main/java/foundation/e/accountmanager/ui/setup/CreateAccountActivity.kt index 351bc6aa2be43296c9bf38de3a48b0ea7cae4628..9675622f9aca38aa589cc2280d8c1272a3edbb18 100644 --- a/app/src/main/java/foundation/e/accountmanager/ui/setup/CreateAccountActivity.kt +++ b/app/src/main/java/foundation/e/accountmanager/ui/setup/CreateAccountActivity.kt @@ -9,6 +9,7 @@ package foundation.e.accountmanager.ui.setup import android.os.Bundle +import android.view.MenuItem import androidx.appcompat.app.AppCompatActivity import foundation.e.accountmanager.R @@ -23,4 +24,12 @@ class CreateAccountActivity : AppCompatActivity() { commit() } } + + override fun onOptionsItemSelected(item: MenuItem): Boolean { + if (item.itemId == android.R.id.home) { + finish() + return true + } + return false + } } \ No newline at end of file