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

Optimize scheduling logic #145

Merged
merged 4 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions khelo/lib/ui/flow/profile/profile_view_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ class ProfileViewNotifier extends StateNotifier<ProfileState> {
state = state.copyWith(actionError: null);

await _userService.updateUserNotificationSettings(
state.currentUser?.id ?? "INVALID ID", state.enableUserNotification);

state.currentUser?.id ?? "INVALID ID", !state.enableUserNotification);
cp-sidhdhi-p marked this conversation as resolved.
Show resolved Hide resolved
state = state.copyWith(
enableUserNotification: !state.enableUserNotification,
actionError: null,
Expand Down
Loading
Loading