Calendar redesign
This commit is contained in:
committed by
Sofiya Tepikin
parent
885da5c293
commit
5a555f5965
+3
-3
@@ -15,8 +15,8 @@ import cycleModule from '../lib/cycle'
|
||||
import { getFertilityStatusForDay } from '../lib/sympto-adapter'
|
||||
import { determinePredictionText, dateEnding } from './helpers/home'
|
||||
|
||||
import { Colors, Fonts, Sizes, Spacing } from '../styles/redesign'
|
||||
import { homeRedesign as labels, home as cycle } from '../i18n/en/labels'
|
||||
import { Colors, Fonts, Sizes, Spacing } from '../styles'
|
||||
import { home as labels } from '../i18n/en/labels'
|
||||
|
||||
class Home extends Component {
|
||||
|
||||
@@ -36,7 +36,7 @@ class Home extends Component {
|
||||
getFertilityStatusForDay(this.todayDateString)
|
||||
const prediction = getPredictedMenses()
|
||||
|
||||
this.cycleDayText = !this.cycleDayNumber ? cycle.cycleDayNotEnoughInfo
|
||||
this.cycleDayText = !this.cycleDayNumber ? labels.cycleDayNotEnoughInfo
|
||||
: `${this.cycleDayNumber}${dateEnding[this.cycleDayNumber] || dateEnding['default']}`
|
||||
this.phase = phase
|
||||
this.phaseText = !phase ? statusText
|
||||
|
||||
Reference in New Issue
Block a user