Skip to content

Commit

Permalink
[fix] fix notification settings switch state
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve-Mr committed Dec 13, 2024
1 parent 5fc9e93 commit b79b5ae
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 b79b5ae

Please sign in to comment.