Skip to content

Commit

Permalink
Merge pull request #6 from Steve-Mr/dev
Browse files Browse the repository at this point in the history
[fix] fix notification settings switch state
  • Loading branch information
Steve-Mr authored Dec 14, 2024
2 parents cdf276d + b79b5ae commit 4342e91
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ fun SettingsScreen(


} else {
notificationViewModel.cancelNotification()
scope.launch {
dataStore.setNotificationEnabled(false)
notificationViewModel.cancelNotification()
}
}
}
}
Expand Down

0 comments on commit 4342e91

Please sign in to comment.