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

Fix issue can't undo first item in history #6

Merged
merged 1 commit into from Nov 16, 2020

Conversation

ductranit
Copy link
Contributor

Try to fix issue #3
It works well and I don't see any issue like the comment:

  /// Can undo the previous change. If the history is equal to 1 this you cannot undo to null.
  bool get canUndo => _history.isNotEmpty && _history.length > 1;

@rodydavis
Copy link
Owner

Looks good 👍🏼

@rodydavis rodydavis merged commit 57a8eab into rodydavis:master Nov 16, 2020
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.

None yet

2 participants