Change scrolling upload progress.

This commit is contained in:
Patrick Fic
2025-10-31 11:16:50 -07:00
parent ffcaf5d536
commit f46b96fbd7

View File

@@ -65,7 +65,7 @@ export function UploadProgress({
{ backgroundColor: theme.colors.elevation.level1 }, { backgroundColor: theme.colors.elevation.level1 },
]} ]}
> >
<ScrollView style={styles.modalFill}> <View style={styles.modalFill}>
<Text variant="titleLarge" style={styles.title}> <Text variant="titleLarge" style={styles.title}>
{t("general.labels.upload")} {t("general.labels.upload")}
</Text> </Text>
@@ -84,6 +84,7 @@ export function UploadProgress({
</> </>
)} )}
<Divider style={{ marginVertical: 12 }} /> <Divider style={{ marginVertical: 12 }} />
<ScrollView style={styles.modalFill}>
{Object.keys(photoUploadProgress).map((key) => ( {Object.keys(photoUploadProgress).map((key) => (
<View key={key} style={styles.progressItem}> <View key={key} style={styles.progressItem}>
<Text <Text
@@ -112,10 +113,11 @@ export function UploadProgress({
</View> </View>
</View> </View>
))} ))}
</ScrollView>
<Button onPress={handleCancelUploads}> <Button onPress={handleCancelUploads}>
{t("general.actions.cancel")} {t("general.actions.cancel")}
</Button> </Button>
</ScrollView> </View>
</Modal> </Modal>
</Portal> </Portal>
); );