Skip to content

Commit

Permalink
Merge branch 'e-mission:master' into controlHelper-rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
the-bay-kay authored Oct 9, 2023
2 parents 46832c7 + cc0e419 commit 22d365a
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 22d365a

Please sign in to comment.