Better title for event editor
This commit is contained in:
parent
be6ad84398
commit
72b00399bf
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ public class EventEditActivity extends AppCompatActivity {
|
|||
binding = ActivityEventEditBinding.inflate(getLayoutInflater());
|
||||
setContentView(binding.getRoot());
|
||||
setSupportActionBar(binding.toolbar);
|
||||
getSupportActionBar().setTitle(getSupportActionBar().getTitle() + " / " + (event == null ? "Create" : "Edit") + " Event");
|
||||
getSupportActionBar().setTitle(queue.getName() + " / " + (event == null ? "Create" : "Edit") + " Event");
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
||||
getSupportActionBar().setDisplayShowHomeEnabled(true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue