Use loading spinner instead of text
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import React, { Component } from 'react'
|
import React, { Component } from 'react'
|
||||||
import { View, FlatList } from 'react-native'
|
import { View, FlatList, ActivityIndicator } from 'react-native'
|
||||||
import range from 'date-range'
|
import range from 'date-range'
|
||||||
import { LocalDate } from 'js-joda'
|
import { LocalDate } from 'js-joda'
|
||||||
import Svg, { G } from 'react-native-svg'
|
import Svg, { G } from 'react-native-svg'
|
||||||
@@ -212,7 +212,7 @@ function LoadingMoreView(props) {
|
|||||||
return (
|
return (
|
||||||
<View style={styles.loadingMore}>
|
<View style={styles.loadingMore}>
|
||||||
{!props.end &&
|
{!props.end &&
|
||||||
<AppText>{labels.loadingMore}</AppText>
|
<ActivityIndicator size={'large'} color={'white'}/>
|
||||||
}
|
}
|
||||||
</View>
|
</View>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ export const shared = {
|
|||||||
date: 'Date',
|
date: 'Date',
|
||||||
cycleDayWithLinebreak: 'Cycle\nday',
|
cycleDayWithLinebreak: 'Cycle\nday',
|
||||||
loading: 'Loading ...',
|
loading: 'Loading ...',
|
||||||
loadingMore: 'Loading more ...',
|
|
||||||
more: 'more',
|
more: 'more',
|
||||||
less: 'less'
|
less: 'less'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user