mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
tweak 'no messages' hint for self-chat, tackles #238
This commit is contained in:
@@ -181,8 +181,13 @@ public class ConversationFragment extends Fragment
|
||||
}
|
||||
}else{
|
||||
String name = getListAdapter().getChatName();
|
||||
String message = getString(R.string.chat_no_messages_hint, name, name);
|
||||
noMessageTextView.setText(message);
|
||||
if(dcContext.getChat((int)threadId).isSelfTalk()) {
|
||||
noMessageTextView.setText(R.string.chat_no_messages);
|
||||
}
|
||||
else {
|
||||
String message = getString(R.string.chat_no_messages_hint, name, name);
|
||||
noMessageTextView.setText(message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user