Merge pull request #3 from Amitlpu-840/statusSaveAmit

code formatting
This commit is contained in:
anirban paul 2024-05-09 10:14:09 +05:30 committed by GitHub
commit 2544d49dbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 1 deletions

View File

@ -110,7 +110,12 @@ const StatusView = (): React.ReactElement => {
headerLeft: isMasterDetail ? undefined : () => <HeaderButton.CancelModal onPress={goBack} />,
headerRight: () => (
<HeaderButton.Container>
<HeaderButton.Item title={I18n.t('Save')} disabled={(status === user.status && statusText === user.statusText)} onPress={submit} testID='status-view-submit' />
<HeaderButton.Item
title={I18n.t('Save')}
disabled={status === user.status && statusText === user.statusText}
onPress={submit}
testID='status-view-submit'
/>
</HeaderButton.Container>
)
});