Improve equipment confirm screen dates display
这个提交包含在:
父节点
346b00defd
当前提交
faac5688f8
共有 1 个文件被更改,包括 4 次插入 和 6 次删除
|
@ -19,11 +19,11 @@
|
|||
|
||||
import * as React from 'react';
|
||||
import {
|
||||
Button,
|
||||
Caption,
|
||||
Card,
|
||||
Headline,
|
||||
Paragraph,
|
||||
Title,
|
||||
useTheme,
|
||||
} from 'react-native-paper';
|
||||
import {View} from 'react-native';
|
||||
|
@ -61,6 +61,7 @@ function EquipmentConfirmScreen(props: Props) {
|
|||
date: getRelativeDateString(start),
|
||||
});
|
||||
}
|
||||
console.log(buttonText);
|
||||
return (
|
||||
<CollapsibleScrollView>
|
||||
<Card style={{margin: 5}}>
|
||||
|
@ -84,12 +85,9 @@ function EquipmentConfirmScreen(props: Props) {
|
|||
</Caption>
|
||||
</View>
|
||||
</View>
|
||||
<Button
|
||||
icon="check-circle-outline"
|
||||
color={theme.colors.success}
|
||||
mode="text">
|
||||
<Title style={{color: theme.colors.success, textAlign: 'center'}}>
|
||||
{buttonText}
|
||||
</Button>
|
||||
</Title>
|
||||
<Paragraph style={{textAlign: 'center'}}>
|
||||
{i18n.t('screens.equipment.bookingConfirmedMessage')}
|
||||
</Paragraph>
|
||||
|
|
正在加载…
在新工单中引用