Limit days in EditPlan title to 2

This commit is contained in:
Brandon Presley 2022-07-07 17:18:23 +12:00
parent 2abb6bc1c9
commit 5120852ce7
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ export default function EditPlan({
<Portal>
<Dialog visible={show} onDismiss={() => setShow(false)}>
<Dialog.Title>
{plan ? `Edit "${days.join(', ')}"` : 'Add a plan'}
{plan ? `Edit "${days.slice(0, 2).join(', ')}"` : 'Add a plan'}
</Dialog.Title>
<Dialog.Content style={[styles.row, {justifyContent: 'space-between'}]}>
<View>