Commit ee7ff7d5 authored by Mygod's avatar Mygod

Use close button in ProfileManagerActivity

Because putting down arrow and back arrow together doesn't make sense.
parent 0503eeac
...@@ -193,7 +193,7 @@ final class ProfileManagerActivity extends AppCompatActivity with OnMenuItemClic ...@@ -193,7 +193,7 @@ final class ProfileManagerActivity extends AppCompatActivity with OnMenuItemClic
val toolbar = findViewById(R.id.toolbar).asInstanceOf[Toolbar] val toolbar = findViewById(R.id.toolbar).asInstanceOf[Toolbar]
toolbar.setTitle(R.string.profiles) toolbar.setTitle(R.string.profiles)
toolbar.setNavigationIcon(R.drawable.abc_ic_ab_back_mtrl_am_alpha) toolbar.setNavigationIcon(R.drawable.ic_navigation_close)
toolbar.setNavigationOnClickListener((v: View) => { toolbar.setNavigationOnClickListener((v: View) => {
val intent = getParentActivityIntent val intent = getParentActivityIntent
if (intent == null) finish else navigateUpTo(intent) if (intent == null) finish else navigateUpTo(intent)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment