Skip to content

Commit

Permalink
Only show Save button once loading completes
Browse files Browse the repository at this point in the history
  • Loading branch information
amyevans committed Jun 1, 2022
1 parent 13d0321 commit 6b47923
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions src/pages/workspace/WorkspacePageWithSections.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,19 @@ class WorkspacePageWithSections extends React.Component {
<ActivityIndicator color={themeColors.spinner} size="large" />
</View>
) : (
<ScrollView
style={[styles.settingsPageBackground, styles.flex1, styles.w100]}
>
<View style={[styles.w100, styles.flex1]}>

{this.props.children(hasVBA, policyID, isUsingECard)}

</View>
</ScrollView>
<>
<ScrollView
style={[styles.settingsPageBackground, styles.flex1, styles.w100]}
>
<View style={[styles.w100, styles.flex1]}>

{this.props.children(hasVBA, policyID, isUsingECard)}

</View>
</ScrollView>
{this.props.footer}
</>
)}
{this.props.footer}
</KeyboardAvoidingView>
</ScreenWrapper>
);
Expand Down

0 comments on commit 6b47923

Please sign in to comment.