diff --git a/components/chart/chart.js b/components/chart/chart.js index e5366c9f385a6bc552c1cfaa3cfe223d44fb4327..5f8b029b07b3c6191e52c810fd1996515cac7e20 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 adb6700646bb934bedf4f4b58f9a50aa11ba72f2..6a9709c647b469c12795a5b3bd5b7efe712807c5 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' }