siramix / buzzwords

A mobile word game that will change the word.
www.siramix.com/buzzwords
GNU General Public License v3.0
10 stars 1 forks source link

Card in "Back" state loses RWS icon on App Destroy/Restore #113

Closed lucasrowe closed 11 years ago

lucasrowe commented 11 years ago

The card that is back one from the current card on app resume (after a destroy) is missing its right/wrong/skip icon. It looks like the state of the card is correct but it's just not drawing the icon -- based on the fact that the card is marked correctly on turn summary.

Repro:

  1. During a turn hit right a few times
  2. Background app
  3. Open app, hit back button

Card is unmarked (should show "correct" icon)

edwardrowe commented 11 years ago

Ugh, after about 6 commits I think I got this fixed. I've added a function to set the CardStatusViews to a specified RWS status, including hiding the view if it's NOTSET. This is called from ShowCurrentCard, as well as doRight, doWrong, and doSkip.

lucasrowe commented 11 years ago

Fix tested and verified.