Commit b03b312c authored by Nastuzzi Samy's avatar Nastuzzi Samy

No Ginger information management

parent 1b7223f6
......@@ -11,6 +11,7 @@ import android.support.v7.app.AlertDialog;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.TextView;
import android.widget.Toast;
......@@ -602,10 +603,8 @@ public class QRCodeReaderActivity extends BaseActivity implements ZXingScannerVi
seanceText.setText(reservationResponse.getSeance());
priceText.setText(reservationResponse.getType());
if (gingerResponse == null) {
adultText.setVisibility(View.GONE);
contributerText.setVisibility(View.GONE);
}
if (gingerResponse == null)
((LinearLayout) keyView.findViewById(R.id.more_info)).setVisibility(View.GONE);
else {
if (gingerResponse.getIs_adulte())
adultText.setText(getString(R.string.yes));
......
......@@ -65,6 +65,7 @@
</LinearLayout>
<LinearLayout
android:id="@+id/more_info"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment