Skip to content

#34 WOD Card's button should be disabled while loading#37

Merged
Ninjaman494 merged 5 commits intomasterfrom
#34
Oct 10, 2020
Merged

#34 WOD Card's button should be disabled while loading#37
Ninjaman494 merged 5 commits intomasterfrom
#34

Conversation

@Ninjaman494
Copy link
Copy Markdown
Owner

@Ninjaman494 Ninjaman494 commented Oct 10, 2020

Closes #34 . I modified how display cards modify their DisplayCardView's button. The DisplayCardView is now passed down in the addBodyView method, and it has methods for disabling, hiding, and setting button text.

WOD card uses this new functionality to disable the button before fetching, and then enables it once it gets a successful response.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WOD Card's button should be disabled while loading

1 participant