Use loading spinner instead of text

This commit is contained in:
Julia Friesel
2018-11-06 17:53:56 +01:00
parent d90ee4f86a
commit a6276fe3df
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -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>
)
-1
View File
@@ -12,7 +12,6 @@ export const shared = {
date: 'Date',
cycleDayWithLinebreak: 'Cycle\nday',
loading: 'Loading ...',
loadingMore: 'Loading more ...',
more: 'more',
less: 'less'
}