mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-24 21:25:35 +01: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
|
@Override
|
||||||
protected String getTitle() {
|
protected String getTitle() {
|
||||||
if (!isNewConversationView && !isAddingParticipantsView) {
|
if (isAddingParticipantsView) {
|
||||||
return getResources().getString(R.string.nc_app_name);
|
return getResources().getString(R.string.nc_add_participants);
|
||||||
|
} else if (isNewConversationView) {
|
||||||
|
return getResources().getString(R.string.nc_select_participants);
|
||||||
} else {
|
} 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>
|
<string name="nc_remove_from_favorites">Remove from favorites</string>
|
||||||
|
|
||||||
<!-- Contacts -->
|
<!-- 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>
|
<string name="nc_contacts_done">Done</string>
|
||||||
|
|
||||||
<!-- Permissions -->
|
<!-- Permissions -->
|
||||||
|
Loading…
Reference in New Issue
Block a user