Release 1.0.7 - Add version.

This commit is contained in:
Patrick Fic
2021-05-04 10:26:24 -07:00
parent 02e0f7ba7d
commit 664171ffc5
9 changed files with 56 additions and 9 deletions

View File

@@ -17,8 +17,8 @@ export default function DataLabelComponent({
return (
<View {...restProps}>
<Text>{label}</Text>
<TextInput disabled placeholder={theContent} />
<TextInput disabled placeholder={label} />
<Text>{theContent}</Text>
</View>
);
}

View File

@@ -32,8 +32,6 @@ export default function JobDocumentsComponent({ job, loading, refetch }) {
[job.documents]
);
console.log("fullphotos", fullphotos);
return (
<View style={{ flex: 1 }}>
<FlatList

View File

@@ -1,10 +1,27 @@
import Constants from "expo-constants";
import React from "react";
import { useTranslation } from "react-i18next";
import { Button, View } from "react-native";
import { Title } from "react-native-paper";
import { purgeStoredState } from "redux-persist";
import SignOutButton from "../sign-out-button/sign-out-button.component";
export default function ScreenSettingsComponent() {
const { t } = useTranslation();
return (
<View>
<View
style={{
flex: 1,
display: "flex",
alignItems: "center",
flexDirection: "column",
}}
>
<Title>
{t("settings.labels.version", {
number: Constants.manifest.version,
})}
</Title>
<SignOutButton />
<Button title="Purge State" onPress={() => purgeStoredState()} />
</View>