Resolve LMS upload.
This commit is contained in:
@@ -66,7 +66,7 @@ function Tab({ bodyshop, currentUser, signOutStart }) {
|
||||
};
|
||||
|
||||
return (
|
||||
<SafeAreaView style={{ flex: 1 }}>
|
||||
<SafeAreaView style={{ flex: 1, paddingBottom: 48 }}>
|
||||
<Text variant="headlineMedium" style={styles.title}>
|
||||
{t("settings.titles.settings")}
|
||||
</Text>
|
||||
|
||||
@@ -69,16 +69,20 @@ export function UploadProgress({
|
||||
<Text variant="titleLarge" style={styles.title}>
|
||||
{t("general.labels.upload")}
|
||||
</Text>
|
||||
<Text variant="labelLarge">
|
||||
{`${t("general.labels.uploadprogress")} ${Math.round(
|
||||
completion * 100
|
||||
)}%`}
|
||||
</Text>
|
||||
<ProgressBar
|
||||
progress={completion}
|
||||
style={styles.progress}
|
||||
color={completion === 1 ? "green" : "blue"}
|
||||
/>
|
||||
{!photoUploadProgress["Bulk"] && (
|
||||
<>
|
||||
<Text variant="labelLarge">
|
||||
{`${t("general.labels.uploadprogress")} ${Math.round(
|
||||
completion * 100
|
||||
)}%`}
|
||||
</Text>
|
||||
<ProgressBar
|
||||
progress={completion}
|
||||
style={styles.progress}
|
||||
color={completion === 1 ? "green" : "blue"}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
<Divider style={{ marginVertical: 12 }} />
|
||||
{Object.keys(photoUploadProgress).map((key) => (
|
||||
<View key={key} style={styles.progressItem}>
|
||||
|
||||
Reference in New Issue
Block a user