mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Hide chat button from history detail if chat disabled
This commit is contained in:
parent
462fd3d5c3
commit
0690a29571
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