|
@@ -3,8 +3,7 @@
|
3
|
3
|
import * as React from 'react';
|
4
|
4
|
import {Image, View} from 'react-native';
|
5
|
5
|
import i18n from 'i18n-js';
|
6
|
|
-import {Card, Avatar, Paragraph, Text, Title} from 'react-native-paper';
|
7
|
|
-import CustomTabBar from '../../components/Tabbar/CustomTabBar';
|
|
6
|
+import {Card, Avatar, Paragraph, Title} from 'react-native-paper';
|
8
|
7
|
import CollapsibleScrollView from '../../components/Collapsible/CollapsibleScrollView';
|
9
|
8
|
import type {CardTitleIconPropsType} from '../../constants/PaperStyles';
|
10
|
9
|
|
|
@@ -32,7 +31,7 @@ export default class ProxiwashAboutScreen extends React.Component<null> {
|
32
|
31
|
style={{height: '100%', width: '100%', resizeMode: 'contain'}}
|
33
|
32
|
/>
|
34
|
33
|
</View>
|
35
|
|
- <Text>{i18n.t('screens.proxiwash.description')}</Text>
|
|
34
|
+
|
36
|
35
|
<Card style={{margin: 5}}>
|
37
|
36
|
<Card.Title
|
38
|
37
|
title={i18n.t('screens.proxiwash.dryer')}
|
|
@@ -62,33 +61,6 @@ export default class ProxiwashAboutScreen extends React.Component<null> {
|
62
|
61
|
<Paragraph>{i18n.t('screens.proxiwash.washerTips')}</Paragraph>
|
63
|
62
|
</Card.Content>
|
64
|
63
|
</Card>
|
65
|
|
-
|
66
|
|
- <Card style={{margin: 5}}>
|
67
|
|
- <Card.Title
|
68
|
|
- title={i18n.t('screens.proxiwash.tariffs')}
|
69
|
|
- left={(iconProps: CardTitleIconPropsType): React.Node => (
|
70
|
|
- <Avatar.Icon size={iconProps.size} icon="circle-multiple" />
|
71
|
|
- )}
|
72
|
|
- />
|
73
|
|
- <Card.Content>
|
74
|
|
- <Paragraph>{i18n.t('screens.proxiwash.washersTariff')}</Paragraph>
|
75
|
|
- <Paragraph>{i18n.t('screens.proxiwash.dryersTariff')}</Paragraph>
|
76
|
|
- </Card.Content>
|
77
|
|
- </Card>
|
78
|
|
- <Card
|
79
|
|
- style={{margin: 5, marginBottom: CustomTabBar.TAB_BAR_HEIGHT + 20}}>
|
80
|
|
- <Card.Title
|
81
|
|
- title={i18n.t('screens.proxiwash.paymentMethods')}
|
82
|
|
- left={(iconProps: CardTitleIconPropsType): React.Node => (
|
83
|
|
- <Avatar.Icon size={iconProps.size} icon="cash" />
|
84
|
|
- )}
|
85
|
|
- />
|
86
|
|
- <Card.Content>
|
87
|
|
- <Paragraph>
|
88
|
|
- {i18n.t('screens.proxiwash.paymentMethodsDescription')}
|
89
|
|
- </Paragraph>
|
90
|
|
- </Card.Content>
|
91
|
|
- </Card>
|
92
|
64
|
</CollapsibleScrollView>
|
93
|
65
|
);
|
94
|
66
|
}
|