slight code reformatting

This commit is contained in:
AndyScherzinger 2018-04-27 09:56:32 +02:00
parent 9a7763d6df
commit ab28954926
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -758,14 +758,14 @@ public class ContactsController extends BaseController implements SearchView.OnQ
@Optional
@OnClick(R.id.call_header_layout)
void toggleCallHeader() {
isPublicCall = !isPublicCall;
if (!isPublicCall) {
if (isPublicCall) {
secondaryRelativeLayout.setVisibility(View.GONE);
initialRelativeLayout.setVisibility(View.VISIBLE);
} else {
initialRelativeLayout.setVisibility(View.GONE);
secondaryRelativeLayout.setVisibility(View.VISIBLE);
}
isPublicCall = !isPublicCall;
checkAndHandleBottomButtons();
}
}