Changed running machine icon
這個提交存在於:
父節點
4228a5555d
當前提交
7ef23ca952
共有 1 個檔案被更改,包括 7 行新增 和 15 行删除
|
@ -1,5 +1,5 @@
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import {ActivityIndicator, Avatar, List, ProgressBar, Surface, Text, withTheme} from 'react-native-paper';
|
import {Avatar, List, ProgressBar, Surface, Text, withTheme} from 'react-native-paper';
|
||||||
import {StyleSheet, View} from "react-native";
|
import {StyleSheet, View} from "react-native";
|
||||||
import ProxiwashConstants from "../../../constants/ProxiwashConstants";
|
import ProxiwashConstants from "../../../constants/ProxiwashConstants";
|
||||||
import i18n from "i18n-js";
|
import i18n from "i18n-js";
|
||||||
|
@ -147,20 +147,12 @@ class ProxiwashListItem extends React.Component<Props> {
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
<View style={{justifyContent: 'center',}}>
|
<View style={{justifyContent: 'center',}}>
|
||||||
{
|
<Avatar.Icon
|
||||||
isRunning
|
icon={stateIcon}
|
||||||
? <ActivityIndicator
|
color={colors.text}
|
||||||
animating={true}
|
size={30}
|
||||||
size={'small'}
|
style={styles.icon}
|
||||||
style={{marginLeft: 10}}/>
|
/>
|
||||||
: <Avatar.Icon
|
|
||||||
icon={stateIcon}
|
|
||||||
color={colors.text}
|
|
||||||
size={30}
|
|
||||||
style={styles.icon}
|
|
||||||
/>
|
|
||||||
}
|
|
||||||
|
|
||||||
</View>
|
</View>
|
||||||
</View>)}
|
</View>)}
|
||||||
/>
|
/>
|
||||||
|
|
載入中…
新增問題並參考