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

Move battery warning functionality to ClockPageViewModelState #25

Merged
merged 4 commits into from
Aug 12, 2022

Conversation

NicksPatties
Copy link
Owner

Changes

Continuing moving state logic from ClockPageViewModel to ClockPageViewModelState

  • TaskTextField icon click function
  • Swapping visibility of EditTimerTextField when clicking the icon
  • Saving UserPreferences data in the ViewModel when clicking the icon using functions passed into ViewModelState

Related issue

Continuation of #24

Testing

  • Manual testing
  • Unit tests
  • Integration tests using my device

…ted separation of batteryWarningDialog state logic from viewmodel.
… data saving logic in ViewModel. Wrote unit and instrumented tests.
@NicksPatties NicksPatties changed the title Clockpage batterywarning tostate Move battery warning functionality to ClockPageViewModelState Aug 12, 2022
@NicksPatties NicksPatties merged commit d99bb7a into master Aug 12, 2022
@NicksPatties NicksPatties deleted the clockpage_batterywarning_tostate branch August 29, 2022 19:49
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.

1 participant