screens/Settings.js
/**
     * Sets the exercise-notification if not set
     */
Sets the exercise-notification if not set
Sets the exercise - notification if not set
async function isExerciseNotifsSet() {
      const exerciseNotifId = await getExerciseNotifId();
      if (exerciseNotifId !== null) {
        setIsExerNotif(true);
      } else {
        setIsExerNotif(false);
      }
    }
async function isExerciseNotifsSet ( ) { const exerciseNotifId = await getExerciseNotifId ( ) ; if ( exerciseNotifId !== null ) { setIsExerNotif ( true ) ; } else { setIsExerNotif ( false ) ; } }
Sets the exercise-notification if not set
Sets the exercise - notification if not set