mirror of
https://github.com/balzack/databag.git
synced 2025-04-23 01:55:17 +00:00
show upload progress
This commit is contained in:
parent
1cdd8c2306
commit
ad3c8793e2
@ -92,6 +92,12 @@ export const styles = StyleSheet.create({
|
||||
width: '100%',
|
||||
height: 2,
|
||||
},
|
||||
progress: {
|
||||
height: 1,
|
||||
position: 'absolute',
|
||||
width: '50%',
|
||||
backgroundColor: Colors.primary,
|
||||
},
|
||||
header: {
|
||||
display: 'flex',
|
||||
flexDirection: 'row',
|
||||
|
@ -231,7 +231,11 @@ export function Conversation({close}: {close: ()=>void}) {
|
||||
</View>
|
||||
)}
|
||||
</View>
|
||||
<Divider style={styles.border} bold={true} />
|
||||
<Divider style={styles.border} bold={true}>
|
||||
{ sending && (
|
||||
<View style={{ ...styles.progress, width: `${state.progress}%` }} />
|
||||
)}
|
||||
</Divider>
|
||||
<Confirm show={alert} params={alertParams} />
|
||||
<View style={styles.add}>
|
||||
{ media.length > 0 && (
|
||||
|
Loading…
x
Reference in New Issue
Block a user