Chore/remove date usage

This commit is contained in:
Sofiya Tepikin
2022-09-10 10:56:09 +00:00
parent bc931b4fbd
commit 7afdcd405a
13 changed files with 63 additions and 117 deletions
+1 -2
View File
@@ -11,9 +11,8 @@ import { getBleedingDaysSortedByDate } from '../db'
import cycleModule from './cycle'
import nothingChanged from '../db/db-unchanged'
import store from '../store'
import { setDate } from '../slices/date'
export default function setupNotifications(navigate) {
export default function setupNotifications(navigate, setDate) {
Notification.configure({
onNotification: (notification) => {
// https://github.com/zo0r/react-native-push-notification/issues/966#issuecomment-479069106