edited styling of error message
This commit is contained in:
@@ -14,7 +14,7 @@ const localStyles = StyleSheet.create({
|
|||||||
alert: {
|
alert: {
|
||||||
color: "red",
|
color: "red",
|
||||||
textAlign: "center",
|
textAlign: "center",
|
||||||
margin: 15,
|
margin: 8,
|
||||||
padding: 15,
|
padding: 8,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -172,12 +172,13 @@ export function ScreenTimeTicketBrowser({
|
|||||||
currentRatesNCostCenters={currentRatesNCostCenters}
|
currentRatesNCostCenters={currentRatesNCostCenters}
|
||||||
onValueSelected={setCurrentSCC}
|
onValueSelected={setCurrentSCC}
|
||||||
/>
|
/>
|
||||||
<Button mode="outlined" loading={loading} onPress={handleFinish}>
|
|
||||||
<Text>Clock In</Text>
|
|
||||||
</Button>
|
|
||||||
{error && error?.message ? (
|
{error && error?.message ? (
|
||||||
<ErrorDisplay errorMessage={error.message} />
|
<ErrorDisplay errorMessage={error.message} />
|
||||||
) : null}
|
) : null}
|
||||||
|
<Button mode="outlined" loading={loading} onPress={handleFinish}>
|
||||||
|
<Text>Clock In</Text>
|
||||||
|
</Button>
|
||||||
|
|
||||||
</Card>
|
</Card>
|
||||||
{/* <View style={{ flexGrow: 1, flex: 1 }}>
|
{/* <View style={{ flexGrow: 1, flex: 1 }}>
|
||||||
<EmployeeClockedInList
|
<EmployeeClockedInList
|
||||||
|
|||||||
Reference in New Issue
Block a user