feat: add Settings/Accounts/Emails/Inbox Setting Contact auto-creation (#3188)
Co-authored-by: Lakshay saini <lakshay.saini@finmo.net>
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import { useEffect } from 'react';
|
||||
import { useNavigate, useParams } from 'react-router-dom';
|
||||
|
||||
import { SettingsAccountsInboxSettingsContactAutoCreateSection } from '@/settings/accounts/components/SettingsAccountsInboxSettingsContactAutoCreationSection';
|
||||
import { SettingsAccountsInboxSettingsSynchronizationSection } from '@/settings/accounts/components/SettingsAccountsInboxSettingsSynchronizationSection';
|
||||
import {
|
||||
InboxSettingsVisibilityValue,
|
||||
@ -28,6 +29,8 @@ export const SettingsAccountsEmailsInboxSettings = () => {
|
||||
|
||||
const handleSynchronizationToggle = (_value: boolean) => {};
|
||||
|
||||
const handleContactAutoCreationToggle = (_value: boolean) => {};
|
||||
|
||||
const handleVisibilityChange = (_value: InboxSettingsVisibilityValue) => {};
|
||||
|
||||
return (
|
||||
@ -48,6 +51,10 @@ export const SettingsAccountsEmailsInboxSettings = () => {
|
||||
value={account.visibility}
|
||||
onChange={handleVisibilityChange}
|
||||
/>
|
||||
<SettingsAccountsInboxSettingsContactAutoCreateSection
|
||||
account={account}
|
||||
onToggle={handleContactAutoCreationToggle}
|
||||
/>
|
||||
</SettingsPageContainer>
|
||||
</SubMenuTopBarContainer>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user