show correct title for contact requests

This commit is contained in:
B. Petersen
2018-10-21 15:01:33 +02:00
parent 22d8f3177f
commit 84cc1c124a
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -1525,5 +1525,6 @@
<string name="open">Open</string>
<string name="done">Done</string>
<string name="menu_deaddrop">Contact requests</string>
<string name="contact_request">Contact requests</string>
</resources>
@@ -415,6 +415,7 @@ public class ApplicationDcContext extends DcContext {
case DC_EVENT_GET_STRING:
String s;
switch( (int)data1 ) { // the integers are defined in the core and used only here, an enum or sth. like that won't have a big benefit
case 8: s = context.getString(R.string.contact_request); break;
case 13: s = context.getString(R.string.default_status_text); break;
case 42: s = context.getString(R.string.autocrypt__asm_subject); break;
case 43: s = context.getString(R.string.autocrypt__asm_general_body); break;