diff --git a/src/components/svg/icons/Lock.tsx b/src/components/svg/icons/Lock.tsx new file mode 100644 index 000000000..574114e27 --- /dev/null +++ b/src/components/svg/icons/Lock.tsx @@ -0,0 +1,23 @@ +import React from 'react'; +import { IconProps } from '@components/svg/icons/Icon.types'; +import { Path, Svg } from 'react-native-svg'; + +export function LockIcon(props: IconProps) { + const { scale = 1 } = props; + const width = 20, + height = 21; + return ( + + + + ); +} diff --git a/src/components/svg/icons/index.ts b/src/components/svg/icons/index.ts index f7a958d4c..5d7066d2b 100644 --- a/src/components/svg/icons/index.ts +++ b/src/components/svg/icons/index.ts @@ -5,6 +5,7 @@ export * from './AppStore'; export * from './Back'; export * from './BellIcon'; export * from './BellIconWelcome'; +export * from './Lock'; export * from './BottomSheetSwiper'; export * from './Browser'; export * from './Check'; diff --git a/src/screens/Settings/components/SettingsInfoBlock/index.tsx b/src/screens/Settings/components/SettingsInfoBlock/index.tsx index c79fb74bb..c73b3f06e 100644 --- a/src/screens/Settings/components/SettingsInfoBlock/index.tsx +++ b/src/screens/Settings/components/SettingsInfoBlock/index.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { Linking, Platform, View } from 'react-native'; import { Button, Row, Spacer, Text } from '@components/base'; import { HelpIcon } from '@components/svg/icons/Help'; -import { AppStoreIcon, PlayStoreIcon } from '@components/svg/icons'; +import { AppStoreIcon, LockIcon, PlayStoreIcon } from '@components/svg/icons'; import { PlatformSpecificUtils } from '@utils/platform'; import { styles } from './style'; @@ -11,8 +11,19 @@ export const SettingsInfoBlock = () => { Linking.openURL('https://airdao.academy/faqs'); }; + const openPrivacyPolicy = () => { + Linking.openURL('https://airdao.io/AirDAO_Mobile_App_Privacy_Policy.pdf'); + }; + return ( + +