mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
show correct title for contact requests
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user