Chore/remove date usage
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user