diff --git a/components/bleeding.js b/components/bleeding.js index 69efb87..0472c3c 100644 --- a/components/bleeding.js +++ b/components/bleeding.js @@ -6,9 +6,9 @@ import { Switch } from 'react-native' import RadioForm from 'react-native-simple-radio-button' -import styles from '../styles' +import styles from '../styles/index' import { saveBleeding } from '../db' -import { bleeding as labels } from '../labels' +import { bleeding as labels } from '../labels/labels' export default class Bleeding extends Component { constructor(props) { diff --git a/components/calendar.js b/components/calendar.js index 70cc6ac..4989d7f 100644 --- a/components/calendar.js +++ b/components/calendar.js @@ -1,7 +1,7 @@ import React, { Component } from 'react' import { View } from 'react-native' import { Calendar } from 'react-native-calendars' -import * as styles from '../styles' +import * as styles from '../styles/index' import { getOrCreateCycleDay, bleedingDaysSortedByDate } from '../db' export default class CalendarView extends Component { diff --git a/components/cycle-day-overview.js b/components/cycle-day-overview.js index 77b3bf4..cc780da 100644 --- a/components/cycle-day-overview.js +++ b/components/cycle-day-overview.js @@ -4,8 +4,8 @@ import { Button, Text } from 'react-native' -import styles from '../styles' -import { bleeding as labels} from '../labels' +import styles from '../styles/index' +import { bleeding as labels} from '../labels/labels' import cycleDayModule from '../lib/get-cycle-day-number' import { bleedingDaysSortedByDate } from '../db' diff --git a/components/cycle-day.js b/components/cycle-day.js index 7b7b73f..7d46dea 100644 --- a/components/cycle-day.js +++ b/components/cycle-day.js @@ -7,8 +7,8 @@ import cycleDayModule from '../lib/get-cycle-day-number' import DayView from './cycle-day-overview' import BleedingEditView from './bleeding' import TemperatureEditView from './temperature' -import { formatDateForViewHeader } from '../format' -import styles from '../styles' +import { formatDateForViewHeader } from '../labels/format' +import styles from '../styles/index' const getCycleDayNumber = cycleDayModule() diff --git a/components/home.js b/components/home.js index 5b39620..60327e3 100644 --- a/components/home.js +++ b/components/home.js @@ -5,7 +5,7 @@ import { Text } from 'react-native' import { LocalDate } from 'js-joda' -import styles from '../styles' +import styles from '../styles/index' import cycleDayModule from '../lib/get-cycle-day-number' import { getOrCreateCycleDay, bleedingDaysSortedByDate, deleteAll } from '../db' diff --git a/components/temperature.js b/components/temperature.js index ace6aa9..c6fccfc 100644 --- a/components/temperature.js +++ b/components/temperature.js @@ -8,7 +8,7 @@ import { } from 'react-native' import { saveTemperature, getPreviousTemperature } from '../db' -import styles from '../styles' +import styles from '../styles/index' export default class Temp extends Component { constructor(props) { diff --git a/format.js b/labels/format.js similarity index 100% rename from format.js rename to labels/format.js diff --git a/labels.js b/labels/labels.js similarity index 100% rename from labels.js rename to labels/labels.js diff --git a/styles.js b/styles/index.js similarity index 100% rename from styles.js rename to styles/index.js