mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-31 19:42:34 +00:00
Adjust title depending on the view
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
8f7873ab9b
commit
16ca03cb5c
@ -812,10 +812,12 @@ public class ContactsController extends BaseController implements SearchView.OnQ
|
||||
|
||||
@Override
|
||||
protected String getTitle() {
|
||||
if (!isNewConversationView && !isAddingParticipantsView) {
|
||||
return getResources().getString(R.string.nc_app_name);
|
||||
if (isAddingParticipantsView) {
|
||||
return getResources().getString(R.string.nc_add_participants);
|
||||
} else if (isNewConversationView) {
|
||||
return getResources().getString(R.string.nc_select_participants);
|
||||
} else {
|
||||
return getResources().getString(R.string.nc_select_contacts);
|
||||
return getResources().getString(R.string.nc_app_name);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -190,7 +190,8 @@
|
||||
<string name="nc_remove_from_favorites">Remove from favorites</string>
|
||||
|
||||
<!-- Contacts -->
|
||||
<string name="nc_select_contacts">Select contacts</string>
|
||||
<string name="nc_select_participants">Select participants</string>
|
||||
<string name="nc_add_participants">Add participants</string>
|
||||
<string name="nc_contacts_done">Done</string>
|
||||
|
||||
<!-- Permissions -->
|
||||
|
Loading…
Reference in New Issue
Block a user