Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propose venue edit - form labels change to Add venue - mode when turning device sideways #212

Open
GoogleCodeExporter opened this issue Feb 4, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Start making a venue edit proposition on any venue
2. Turn device sideways

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

Expected: Form labels do not change.
Instead: Form title and submit button text change to Add venue mode.

When new StateHolder is created, labels are set correctly. However, when 
Stateholder is retained, this is not done. Simple fix:

if (retained != null && retained instanceof StateHolder) {
  mStateHolder = (StateHolder) retained;
...
  if (mStateHolder.getVenueBeingEdited() != null)
    setLabelsToEditMode();

Original issue reported on code.google.com by [email protected] on 6 Aug 2010 at 11:46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant