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

Resolve end issue and endcommand test #74

Closed
wants to merge 14 commits into from

Conversation

xinweit
Copy link

@xinweit xinweit commented Mar 24, 2021

No description provided.

@xinweit xinweit linked an issue Mar 24, 2021 that may be closed by this pull request
requireNonNull(model);
model.updateFilteredFlashcardList(PREDICATE_SHOW_ALL_FLASHCARDS);
return new CommandResult(MESSAGE_SUCCESS, false, false, false);
if (model.getMode().getCurrentMode() == 2 || model.getMode().getCurrentMode() == 3) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not too important but probably can import the static final variable MODE_QUIZ and MODE_LEARN so that the code looks nicer? :D same for the rest of the magic numbers

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.

(Potential) issue when entering 'end'
2 participants