From fde9a6cbc31de7d1e25204d8e94fc1d5c06a2951 Mon Sep 17 00:00:00 2001
From: Julia Friesel <julia.friesel@gmail.com>
Date: Mon, 20 Aug 2018 17:13:03 +0200
Subject: [PATCH] Remove unneeded imports

---
 components/calendar.js                     | 2 --
 components/cycle-day/cycle-day-overview.js | 4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/components/calendar.js b/components/calendar.js
index 635a9a25..72fb1bab 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 37b34b20..168954f1 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 {
-- 
GitLab