Skip to content

Commit

Permalink
Removed unnecessary ToDo. It's handled.
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Rowe committed Jul 25, 2013
1 parent 39e41b9 commit 06944b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/com/buzzwords/PackInfoActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,10 @@ private void setupButtons()
{

mButtonAccept.setOnClickListener(mAcceptListener);

if(!mIsPackPurchased)
{
// Display the buttons for a pack that has been unpurchased
mButtonCancel.setVisibility(View.VISIBLE);
mButtonCancel.setOnClickListener(mCancelListener);
mPackIsOwnedText.setVisibility(View.GONE);
Expand All @@ -196,9 +198,9 @@ private void setupButtons()
// Do not show progress for unpurchased packs
setProgressVisible(false);
}
//TODO Edward we need to handle the case where billing service is not available
else
{
// Display the buttons for a pack that is owned by the user
setProgressVisible(true);
mButtonCancel.setVisibility(View.GONE);
mPackIsOwnedText.setVisibility(View.VISIBLE);
Expand Down

0 comments on commit 06944b9

Please sign in to comment.