Skip to content

Commit

Permalink
Merge pull request e-mission#1047 from the-bay-kay/dynamic_checkmark
Browse files Browse the repository at this point in the history
✓ Updated "Verify Inference" Checkmark
  • Loading branch information
shankari authored Oct 5, 2023
2 parents 8c12de7 + 9c36f7d commit cc0e419
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions www/js/survey/multilabel/MultiLabelButtonGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,13 @@ const MultilabelButtonGroup = ({ trip, buttonsInline=false }) => {
)
})}
</View>
<View>
<IconButton icon='check-bold' mode='outlined' size={16} onPress={verifyTrip}
disabled={trip.verifiability != 'can-verify'}
style={{width: 20, height: 20, margin: 3}}/>
</View>
{trip.verifiability === 'can-verify' && (
<View style={{marginTop: 16}}>
<IconButton icon='check-bold' mode='outlined' size={18} onPress={verifyTrip}
containerColor={colors.secondaryContainer}
style={{width: 24, height: 24, margin: 3, borderColor: colors.secondary}} />
</View>
)}
</View>
<Modal visible={modalVisibleFor != null} transparent={true} onDismiss={() => dismiss()}>
<Dialog visible={modalVisibleFor != null} onDismiss={() => dismiss()}>
Expand Down

0 comments on commit cc0e419

Please sign in to comment.