Use loading spinner instead of text
This commit is contained in:
@@ -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>
|
||||
)
|
||||
|
||||
@@ -12,7 +12,6 @@ export const shared = {
|
||||
date: 'Date',
|
||||
cycleDayWithLinebreak: 'Cycle\nday',
|
||||
loading: 'Loading ...',
|
||||
loadingMore: 'Loading more ...',
|
||||
more: 'more',
|
||||
less: 'less'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user