upd: redesign
This commit is contained in:
@@ -163,7 +163,7 @@ export default function ModalSelectMultiple({ open, close, title, category, choo
|
||||
<Text numberOfLines={1} style={[Styles.w80]}>{item.name}</Text>
|
||||
{
|
||||
selectedDivision.some((i: any) => i.id == item.id)
|
||||
? <AntDesign name="check" size={18} color={colors.text} />
|
||||
? <AntDesign name="check" size={17} color={colors.text} />
|
||||
: <></>
|
||||
}
|
||||
</Pressable>
|
||||
@@ -179,9 +179,9 @@ export default function ModalSelectMultiple({ open, close, title, category, choo
|
||||
<Text style={[Styles.textMediumSemiBold]}>{item.name}</Text>
|
||||
{
|
||||
checked[item.id] && checked[item.id]?.length === item.Division?.length
|
||||
? <AntDesign name="check" size={20} color={colors.text} />
|
||||
? <AntDesign name="check" size={17} color={colors.text} />
|
||||
: (checked[item.id] && checked[item.id]?.length > 0 && checked[item.id]?.length < item.Division?.length)
|
||||
? <AntDesign name="minus" size={20} color={colors.text} />
|
||||
? <AntDesign name="minus" size={17} color={colors.text} />
|
||||
: <></>
|
||||
}
|
||||
</Pressable>
|
||||
|
||||
Reference in New Issue
Block a user