TP-60588 | Code push loading screen

This commit is contained in:
yashmantri
2024-09-09 14:28:08 +05:30
parent 1b2cb25e1c
commit a9d01c3d51
3 changed files with 4763 additions and 9 deletions

View File

@@ -42,10 +42,9 @@ const CodePushLoadingModal = forwardRef<CodePushLoadingModalRef>((_, ref) => {
/>
</View>
{progress ? (
<View>
<Text style={styles.header}>Updating to a newer version...</Text>
<Text style={styles.header}>Updating to a newer version...</Text>
<ProgressBar progress={progress?.receivedBytes / progress?.totalBytes} />
<Text style={styles.progressText}>
{getInMb(progress?.receivedBytes)} / {getInMb(progress?.totalBytes)}