use 'Group Name' as placeholder for group name

before if was just 'Name',
which can lead to confusion
when heading instructions as "create a group with that person":
one may create a group and enter the email address to "Name" ...

same with 'Broadcast List Name'
This commit is contained in:
B. Petersen
2023-11-01 18:47:24 +01:00
committed by bjoern
parent 006b90bcde
commit d3f2a268b1
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
android:lines="1"
android:maxLength="255"
android:inputType="textAutoCorrect"
android:hint="@string/name_desktop" />
android:hint="@string/group_name" />
</LinearLayout>
<TextView
@@ -216,6 +216,8 @@ public class GroupCreateActivity extends PassphraseRequiredActionBarActivity
if (!broadcast) {
DcContact self = dcContext.getContact(DC_CONTACT_ID_SELF);
initList.add(new Recipient(this, self));
} else {
groupName.setHint(R.string.broadcast_list_name);
}
ArrayList<Integer> suggestedContactIds = getIntent().getIntegerArrayListExtra(SUGGESTED_CONTACT_IDS);
if (suggestedContactIds != null && !suggestedContactIds.isEmpty()) {