This commit is contained in:
B. Petersen
2016-10-22 23:12:15 +02:00
parent aadd691360
commit 95fee7ec90
2 changed files with 6 additions and 2 deletions
@@ -6411,7 +6411,11 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
chatActivityEnterView.setVisibility(View.INVISIBLE);
} else {
if (MrMailbox.MrChatGetId(m_hChat)==MrMailbox.MR_CHAT_ID_STRANGERS) {
bottomOverlayChatText.setText(LocaleController.getString("StrangersHint", R.string.StrangersHint));
if( messages.isEmpty()) {
bottomOverlayChatText.setText(LocaleController.getString("NoMessages", R.string.NoMessages));
} else {
bottomOverlayChatText.setText(LocaleController.getString("StrangersHint", R.string.StrangersHint));
}
bottomOverlayChat.setVisibility(View.VISIBLE);
chatActivityEnterView.setVisibility(View.INVISIBLE);
} else {
@@ -921,5 +921,5 @@
<string name="StrangersInChatlist">Unbekannte Benutzer in Chatliste </string>
<string name="MuteAlways">Dauerhaft stumm</string>
<string name="AskStartChatWith">Chat mit <![CDATA[<b>]]>%1$s<![CDATA[</b>]]> starten?</string>
<string name="StrangersHint">Ein Klick auf die Antwort-Pfeile statet einen Chat.</string>
<string name="StrangersHint">Ein Klick auf die Antwort-Pfeile startet einen Chat.</string>
</resources>