mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-22 06:08:09 +00:00
Hide chat button from history detail if chat disabled
This commit is contained in:
parent
3690c6abf1
commit
561352e472
1 changed files with 2 additions and 0 deletions
|
|
@ -58,6 +58,8 @@ public class HistoryDetailFragment extends Fragment implements OnClickListener {
|
|||
|
||||
chat = (ImageView) view.findViewById(R.id.chat);
|
||||
chat.setOnClickListener(this);
|
||||
if (getResources().getBoolean(R.bool.disable_chat))
|
||||
view.findViewById(R.id.chatRow).setVisibility(View.GONE);
|
||||
|
||||
addToContacts = (ImageView) view.findViewById(R.id.addToContacts);
|
||||
addToContacts.setOnClickListener(this);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue