Skip to content
Snippets Groups Projects
Commit a6276fe3 authored by Julia Friesel's avatar Julia Friesel
Browse files

Use loading spinner instead of text

parent d90ee4f8
No related branches found
No related tags found
No related merge requests found
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) { ...@@ -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 = { ...@@ -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'
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment