diff --git a/components/calendar.js b/components/calendar.js index 635a9a254dd0f14b2d8a550858891df36594cbd9..72fb1babf89c61d4f213a53f7e0723eb00f5ea3f 100644 --- a/components/calendar.js +++ b/components/calendar.js @@ -1,7 +1,5 @@ import React, { Component } from 'react' -import { View } from 'react-native' import { CalendarList } from 'react-native-calendars' -import * as styles from '../styles' import { getOrCreateCycleDay, bleedingDaysSortedByDate } from '../db' export default class CalendarView extends Component { diff --git a/components/cycle-day/cycle-day-overview.js b/components/cycle-day/cycle-day-overview.js index 37b34b20dc97066edcafab26192967a0372d404e..168954f13b0564bab294f63a1a60593d8a44bfe9 100644 --- a/components/cycle-day/cycle-day-overview.js +++ b/components/cycle-day/cycle-day-overview.js @@ -167,8 +167,8 @@ function getLabel(symptomName, symptom) { if (!symptom) return const label = labels[symptomName](symptom) - if (label.length < 50) return label - return label.slice(0, 47) + '...' + if (label.length < 45) return label + return label.slice(0, 42) + '...' } class SymptomBox extends Component {