sonyraj / foursquared

Automatically exported from code.google.com/p/foursquared
Apache License 2.0
0 stars 0 forks source link

Second address line never shown on venue view #210

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Open venue view of any venue that has eg. cross street

What is the expected output? What do you see instead?

Expected: Two address lines, second with eg. cross street
Instead: One address line

widget/venueview.java hides the second line when it's not empty:

        String line2 = StringFormatters.getVenueLocationCrossStreetOrCity(venue);
        if (TextUtils.isEmpty(line2)) {
            mVenueLocationLine2.setText(line2);
            mVenueLocationLine2.setVisibility(View.VISIBLE);
        } else if (mCollapsible) {
            mVenueLocationLine2.setVisibility(View.GONE);
        }

Original issue reported on code.google.com by gc.j...@gmail.com on 3 Aug 2010 at 11:22