From a6276fe3dfef7aa7b08356b6f7a7d155bf21c3fb Mon Sep 17 00:00:00 2001
From: Julia Friesel <julia.friesel@gmail.com>
Date: Tue, 6 Nov 2018 17:53:56 +0100
Subject: [PATCH] Use loading spinner instead of text

---
 components/chart/chart.js | 4 ++--
 components/labels.js      | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/components/chart/chart.js b/components/chart/chart.js
index e5366c9f..5f8b029b 100644
--- a/components/chart/chart.js
+++ b/components/chart/chart.js
@@ -1,5 +1,5 @@
 import React, { Component } from 'react'
-import { View, FlatList } from 'react-native'
+import { View, FlatList, ActivityIndicator } from 'react-native'
 import range from 'date-range'
 import { LocalDate } from 'js-joda'
 import Svg, { G } from 'react-native-svg'
@@ -212,7 +212,7 @@ function LoadingMoreView(props) {
   return (
     <View style={styles.loadingMore}>
       {!props.end &&
-        <AppText>{labels.loadingMore}</AppText>
+        <ActivityIndicator size={'large'} color={'white'}/>
       }
     </View>
   )
diff --git a/components/labels.js b/components/labels.js
index adb67006..6a9709c6 100644
--- a/components/labels.js
+++ b/components/labels.js
@@ -12,7 +12,6 @@ export const shared = {
   date: 'Date',
   cycleDayWithLinebreak: 'Cycle\nday',
   loading: 'Loading ...',
-  loadingMore: 'Loading more ...',
   more: 'more',
   less: 'less'
 }
-- 
GitLab