@oxyhq/services 6.9.45 → 6.9.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/ui/components/OxyProvider.js +6 -5
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/SignInModal.js +271 -102
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +24 -15
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/index.js +0 -35
- package/lib/commonjs/ui/components/index.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +26 -13
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +50 -28
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +83 -48
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +11 -10
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +38 -23
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +4 -3
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +1 -3
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +47 -63
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +90 -68
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +72 -63
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +5 -5
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +57 -51
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +25 -36
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +31 -31
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +15 -8
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +60 -54
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +12 -9
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +159 -190
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +20 -22
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +16 -17
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js +26 -4
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js +13 -29
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +110 -52
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +3 -5
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +6 -5
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +271 -100
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +24 -15
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/index.js +0 -5
- package/lib/module/ui/components/index.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +26 -13
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +49 -26
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +84 -48
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +11 -9
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +38 -22
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +4 -3
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +1 -3
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +46 -62
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +90 -68
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +73 -64
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +6 -6
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +48 -42
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +25 -36
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +32 -32
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +16 -9
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +61 -55
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +12 -9
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +161 -192
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +21 -23
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +17 -18
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/SessionManagementScreen.js +27 -5
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js +15 -31
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +110 -52
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +4 -6
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/index.d.ts +0 -5
- package/lib/typescript/commonjs/ui/components/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts +1 -1
- package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SessionManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/index.d.ts +0 -5
- package/lib/typescript/module/ui/components/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts +1 -1
- package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SessionManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/ui/components/OxyProvider.tsx +6 -5
- package/src/ui/components/SignInModal.tsx +186 -42
- package/src/ui/components/fileManagement/FileViewer.tsx +25 -15
- package/src/ui/components/index.ts +0 -5
- package/src/ui/components/payment/PaymentDetailsStep.tsx +16 -19
- package/src/ui/components/payment/PaymentMethodStep.tsx +33 -35
- package/src/ui/components/payment/PaymentReviewStep.tsx +63 -67
- package/src/ui/components/payment/PaymentSuccessStep.tsx +4 -12
- package/src/ui/components/payment/PaymentSummaryStep.tsx +26 -33
- package/src/ui/context/hooks/useAuthOperations.ts +4 -3
- package/src/ui/screens/AccountCenterScreen.tsx +2 -3
- package/src/ui/screens/AccountOverviewScreen.tsx +44 -65
- package/src/ui/screens/AccountSettingsScreen.tsx +121 -149
- package/src/ui/screens/AccountSwitcherScreen.tsx +94 -115
- package/src/ui/screens/AccountVerificationScreen.tsx +10 -9
- package/src/ui/screens/FeedbackScreen.tsx +50 -38
- package/src/ui/screens/FileManagementScreen.tsx +26 -34
- package/src/ui/screens/HistoryViewScreen.tsx +29 -10
- package/src/ui/screens/LanguageSelectorScreen.tsx +19 -7
- package/src/ui/screens/LegalDocumentsScreen.tsx +46 -63
- package/src/ui/screens/PaymentGatewayScreen.tsx +11 -12
- package/src/ui/screens/PrivacySettingsScreen.tsx +81 -193
- package/src/ui/screens/SavesCollectionsScreen.tsx +23 -23
- package/src/ui/screens/SearchSettingsScreen.tsx +11 -19
- package/src/ui/screens/SessionManagementScreen.tsx +29 -3
- package/src/ui/screens/UserLinksScreen.tsx +15 -32
- package/src/ui/screens/WelcomeNewUserScreen.tsx +46 -20
- package/src/ui/screens/karma/KarmaFAQScreen.tsx +4 -6
- package/lib/commonjs/ui/components/GroupedItem.js +0 -138
- package/lib/commonjs/ui/components/GroupedItem.js.map +0 -1
- package/lib/commonjs/ui/components/GroupedSection.js +0 -41
- package/lib/commonjs/ui/components/GroupedSection.js.map +0 -1
- package/lib/commonjs/ui/components/Section.js +0 -39
- package/lib/commonjs/ui/components/Section.js.map +0 -1
- package/lib/commonjs/ui/components/SectionTitle.js +0 -29
- package/lib/commonjs/ui/components/SectionTitle.js.map +0 -1
- package/lib/commonjs/ui/components/SettingRow.js +0 -96
- package/lib/commonjs/ui/components/SettingRow.js.map +0 -1
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +0 -208
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +0 -1
- package/lib/module/ui/components/GroupedItem.js +0 -135
- package/lib/module/ui/components/GroupedItem.js.map +0 -1
- package/lib/module/ui/components/GroupedSection.js +0 -37
- package/lib/module/ui/components/GroupedSection.js.map +0 -1
- package/lib/module/ui/components/Section.js +0 -34
- package/lib/module/ui/components/Section.js.map +0 -1
- package/lib/module/ui/components/SectionTitle.js +0 -25
- package/lib/module/ui/components/SectionTitle.js.map +0 -1
- package/lib/module/ui/components/SettingRow.js +0 -91
- package/lib/module/ui/components/SettingRow.js.map +0 -1
- package/lib/module/ui/components/internal/GroupedPillButtons.js +0 -204
- package/lib/module/ui/components/internal/GroupedPillButtons.js.map +0 -1
- package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts +0 -24
- package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/GroupedSection.d.ts +0 -30
- package/lib/typescript/commonjs/ui/components/GroupedSection.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Section.d.ts +0 -12
- package/lib/typescript/commonjs/ui/components/Section.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SectionTitle.d.ts +0 -10
- package/lib/typescript/commonjs/ui/components/SectionTitle.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SettingRow.d.ts +0 -20
- package/lib/typescript/commonjs/ui/components/SettingRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/internal/GroupedPillButtons.d.ts +0 -24
- package/lib/typescript/commonjs/ui/components/internal/GroupedPillButtons.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/GroupedItem.d.ts +0 -24
- package/lib/typescript/module/ui/components/GroupedItem.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/GroupedSection.d.ts +0 -30
- package/lib/typescript/module/ui/components/GroupedSection.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Section.d.ts +0 -12
- package/lib/typescript/module/ui/components/Section.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SectionTitle.d.ts +0 -10
- package/lib/typescript/module/ui/components/SectionTitle.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SettingRow.d.ts +0 -20
- package/lib/typescript/module/ui/components/SettingRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/internal/GroupedPillButtons.d.ts +0 -24
- package/lib/typescript/module/ui/components/internal/GroupedPillButtons.d.ts.map +0 -1
- package/src/ui/components/GroupedItem.tsx +0 -161
- package/src/ui/components/GroupedSection.tsx +0 -60
- package/src/ui/components/Section.tsx +0 -42
- package/src/ui/components/SectionTitle.tsx +0 -27
- package/src/ui/components/SettingRow.tsx +0 -105
- package/src/ui/components/internal/GroupedPillButtons.tsx +0 -253
|
@@ -9,13 +9,14 @@ import {
|
|
|
9
9
|
Platform,
|
|
10
10
|
Image,
|
|
11
11
|
} from 'react-native';
|
|
12
|
+
import { MaterialCommunityIcons } from '@expo/vector-icons';
|
|
12
13
|
import type { BaseScreenProps } from '../types/navigation';
|
|
13
14
|
import { toast } from '../../lib/sonner';
|
|
14
15
|
import { fontFamilies } from '../styles/fonts';
|
|
15
16
|
import * as Prompt from '@oxyhq/bloom/prompt';
|
|
16
17
|
import { usePromptControl } from '@oxyhq/bloom/prompt';
|
|
17
18
|
import { useAuthStore } from '../stores/authStore';
|
|
18
|
-
import {
|
|
19
|
+
import { SettingsListGroup, SettingsListItem } from '@oxyhq/bloom/settings-list';
|
|
19
20
|
import { useI18n } from '../hooks/useI18n';
|
|
20
21
|
import { useTheme } from '@oxyhq/bloom/theme';
|
|
21
22
|
import { useColorScheme } from '../hooks/useColorScheme';
|
|
@@ -362,64 +363,59 @@ const AccountSettingsScreen: React.FC<BaseScreenProps & { initialField?: string;
|
|
|
362
363
|
{t('editProfile.sections.profilePicture') || 'PROFILE PICTURE'}
|
|
363
364
|
</Text>
|
|
364
365
|
<View style={styles.groupedSectionWrapper}>
|
|
365
|
-
<
|
|
366
|
-
|
|
367
|
-
{
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
<Animated.View style={{ position: 'relative', width: 36, height: 36 }}>
|
|
372
|
-
<Animated.Image
|
|
373
|
-
source={{ uri: oxyServices.getFileDownloadUrl(optimisticAvatarId || avatarFileId, 'thumb') }}
|
|
374
|
-
style={{
|
|
375
|
-
width: 36,
|
|
376
|
-
height: 36,
|
|
377
|
-
borderRadius: 18,
|
|
378
|
-
opacity: 0.6
|
|
379
|
-
}}
|
|
380
|
-
/>
|
|
381
|
-
<View style={{
|
|
382
|
-
position: 'absolute',
|
|
383
|
-
top: 0,
|
|
384
|
-
left: 0,
|
|
385
|
-
right: 0,
|
|
386
|
-
bottom: 0,
|
|
387
|
-
justifyContent: 'center',
|
|
388
|
-
alignItems: 'center',
|
|
389
|
-
backgroundColor: colorScheme === 'dark' ? 'rgba(0, 0, 0, 0.4)' : 'rgba(255, 255, 255, 0.7)',
|
|
390
|
-
borderRadius: 18,
|
|
391
|
-
}}>
|
|
392
|
-
<ActivityIndicator size="small" color={colors.tint} />
|
|
393
|
-
</View>
|
|
394
|
-
</Animated.View>
|
|
395
|
-
) : (
|
|
396
|
-
<Image
|
|
366
|
+
<SettingsListGroup>
|
|
367
|
+
<SettingsListItem
|
|
368
|
+
icon={(optimisticAvatarId || avatarFileId) ? (
|
|
369
|
+
isUpdatingAvatar ? (
|
|
370
|
+
<Animated.View style={{ position: 'relative', width: 36, height: 36 }}>
|
|
371
|
+
<Animated.Image
|
|
397
372
|
source={{ uri: oxyServices.getFileDownloadUrl(optimisticAvatarId || avatarFileId, 'thumb') }}
|
|
398
|
-
style={{
|
|
373
|
+
style={{
|
|
374
|
+
width: 36,
|
|
375
|
+
height: 36,
|
|
376
|
+
borderRadius: 18,
|
|
377
|
+
opacity: 0.6
|
|
378
|
+
}}
|
|
399
379
|
/>
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
380
|
+
<View style={{
|
|
381
|
+
position: 'absolute',
|
|
382
|
+
top: 0,
|
|
383
|
+
left: 0,
|
|
384
|
+
right: 0,
|
|
385
|
+
bottom: 0,
|
|
386
|
+
justifyContent: 'center',
|
|
387
|
+
alignItems: 'center',
|
|
388
|
+
backgroundColor: colorScheme === 'dark' ? 'rgba(0, 0, 0, 0.4)' : 'rgba(255, 255, 255, 0.7)',
|
|
389
|
+
borderRadius: 18,
|
|
390
|
+
}}>
|
|
391
|
+
<ActivityIndicator size="small" color={colors.tint} />
|
|
392
|
+
</View>
|
|
393
|
+
</Animated.View>
|
|
394
|
+
) : (
|
|
395
|
+
<Image
|
|
396
|
+
source={{ uri: oxyServices.getFileDownloadUrl(optimisticAvatarId || avatarFileId, 'thumb') }}
|
|
397
|
+
style={{ width: 36, height: 36, borderRadius: 18 }}
|
|
398
|
+
/>
|
|
399
|
+
)
|
|
400
|
+
) : (
|
|
401
|
+
<MaterialCommunityIcons name="account-outline" size={20} color={colors.sidebarIconPersonalInfo} />
|
|
402
|
+
)}
|
|
403
|
+
title="Profile Photo"
|
|
404
|
+
description={isUpdatingAvatar
|
|
405
|
+
? 'Updating profile picture...'
|
|
406
|
+
: (avatarFileId ? 'Tap to change your profile picture' : 'Tap to add a profile picture')}
|
|
407
|
+
onPress={isUpdatingAvatar ? undefined : openAvatarPicker}
|
|
408
|
+
disabled={isUpdatingAvatar}
|
|
409
|
+
/>
|
|
410
|
+
{avatarFileId && !isUpdatingAvatar ? (
|
|
411
|
+
<SettingsListItem
|
|
412
|
+
icon={<MaterialCommunityIcons name="delete-outline" size={20} color={colors.sidebarIconSharing} />}
|
|
413
|
+
title="Remove Photo"
|
|
414
|
+
description="Delete current profile picture"
|
|
415
|
+
onPress={handleAvatarRemove}
|
|
416
|
+
/>
|
|
417
|
+
) : null}
|
|
418
|
+
</SettingsListGroup>
|
|
423
419
|
</View>
|
|
424
420
|
</View>
|
|
425
421
|
|
|
@@ -436,34 +432,26 @@ const AccountSettingsScreen: React.FC<BaseScreenProps & { initialField?: string;
|
|
|
436
432
|
{t('editProfile.sections.basicInfo') || 'BASIC INFORMATION'}
|
|
437
433
|
</Text>
|
|
438
434
|
<View style={styles.groupedSectionWrapper}>
|
|
439
|
-
<
|
|
440
|
-
|
|
441
|
-
{
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
}
|
|
449
|
-
{
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
icon: 'email-outline',
|
|
460
|
-
iconColor: colors.sidebarIconSecurity,
|
|
461
|
-
title: t('editProfile.items.email.title') || 'Email',
|
|
462
|
-
subtitle: email || (t('editProfile.items.email.add') || 'Add your email address'),
|
|
463
|
-
onPress: handleOpenEmailModal,
|
|
464
|
-
},
|
|
465
|
-
]}
|
|
466
|
-
/>
|
|
435
|
+
<SettingsListGroup>
|
|
436
|
+
<SettingsListItem
|
|
437
|
+
icon={<MaterialCommunityIcons name="account-outline" size={20} color={colors.sidebarIconPersonalInfo} />}
|
|
438
|
+
title={t('editProfile.items.displayName.title') || 'Display Name'}
|
|
439
|
+
description={[displayName, lastName].filter(Boolean).join(' ') || (t('editProfile.items.displayName.add') || 'Add your display name')}
|
|
440
|
+
onPress={handleOpenDisplayNameModal}
|
|
441
|
+
/>
|
|
442
|
+
<SettingsListItem
|
|
443
|
+
icon={<MaterialCommunityIcons name="at" size={20} color={colors.sidebarIconData} />}
|
|
444
|
+
title={t('editProfile.items.username.title') || 'Username'}
|
|
445
|
+
description={username || (t('editProfile.items.username.choose') || 'Choose a username')}
|
|
446
|
+
onPress={handleOpenUsernameModal}
|
|
447
|
+
/>
|
|
448
|
+
<SettingsListItem
|
|
449
|
+
icon={<MaterialCommunityIcons name="email-outline" size={20} color={colors.sidebarIconSecurity} />}
|
|
450
|
+
title={t('editProfile.items.email.title') || 'Email'}
|
|
451
|
+
description={email || (t('editProfile.items.email.add') || 'Add your email address')}
|
|
452
|
+
onPress={handleOpenEmailModal}
|
|
453
|
+
/>
|
|
454
|
+
</SettingsListGroup>
|
|
467
455
|
</View>
|
|
468
456
|
</View>
|
|
469
457
|
|
|
@@ -480,42 +468,34 @@ const AccountSettingsScreen: React.FC<BaseScreenProps & { initialField?: string;
|
|
|
480
468
|
{t('editProfile.sections.about') || 'ABOUT YOU'}
|
|
481
469
|
</Text>
|
|
482
470
|
<View style={styles.groupedSectionWrapper}>
|
|
483
|
-
<
|
|
484
|
-
|
|
485
|
-
{
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
}
|
|
493
|
-
{
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
? (linksMetadata.length === 1
|
|
512
|
-
? (t('editProfile.items.links.count', { count: linksMetadata.length }) || `${linksMetadata.length} link added`)
|
|
513
|
-
: (t('editProfile.items.links.count_plural', { count: linksMetadata.length }) || `${linksMetadata.length} links added`))
|
|
514
|
-
: (t('editProfile.items.links.add') || 'Add your links'),
|
|
515
|
-
onPress: handleOpenLinksModal,
|
|
516
|
-
},
|
|
517
|
-
]}
|
|
518
|
-
/>
|
|
471
|
+
<SettingsListGroup>
|
|
472
|
+
<SettingsListItem
|
|
473
|
+
icon={<MaterialCommunityIcons name="text-box-outline" size={20} color={colors.sidebarIconPersonalInfo} />}
|
|
474
|
+
title={t('editProfile.items.bio.title') || 'Bio'}
|
|
475
|
+
description={bio || (t('editProfile.items.bio.placeholder') || 'Tell people about yourself')}
|
|
476
|
+
onPress={handleOpenBioModal}
|
|
477
|
+
/>
|
|
478
|
+
<SettingsListItem
|
|
479
|
+
icon={<MaterialCommunityIcons name="map-marker-outline" size={20} color={colors.sidebarIconSharing} />}
|
|
480
|
+
title={t('editProfile.items.locations.title') || 'Locations'}
|
|
481
|
+
description={locations.length > 0
|
|
482
|
+
? (locations.length === 1
|
|
483
|
+
? (t('editProfile.items.locations.count', { count: locations.length }) || `${locations.length} location added`)
|
|
484
|
+
: (t('editProfile.items.locations.count_plural', { count: locations.length }) || `${locations.length} locations added`))
|
|
485
|
+
: (t('editProfile.items.locations.add') || 'Add your locations')}
|
|
486
|
+
onPress={handleOpenLocationModal}
|
|
487
|
+
/>
|
|
488
|
+
<SettingsListItem
|
|
489
|
+
icon={<MaterialCommunityIcons name="link-variant" size={20} color={colors.sidebarIconSharing} />}
|
|
490
|
+
title={t('editProfile.items.links.title') || 'Links'}
|
|
491
|
+
description={linksMetadata.length > 0
|
|
492
|
+
? (linksMetadata.length === 1
|
|
493
|
+
? (t('editProfile.items.links.count', { count: linksMetadata.length }) || `${linksMetadata.length} link added`)
|
|
494
|
+
: (t('editProfile.items.links.count_plural', { count: linksMetadata.length }) || `${linksMetadata.length} links added`))
|
|
495
|
+
: (t('editProfile.items.links.add') || 'Add your links')}
|
|
496
|
+
onPress={handleOpenLinksModal}
|
|
497
|
+
/>
|
|
498
|
+
</SettingsListGroup>
|
|
519
499
|
</View>
|
|
520
500
|
</View>
|
|
521
501
|
|
|
@@ -532,34 +512,26 @@ const AccountSettingsScreen: React.FC<BaseScreenProps & { initialField?: string;
|
|
|
532
512
|
{t('editProfile.sections.quickActions') || 'QUICK ACTIONS'}
|
|
533
513
|
</Text>
|
|
534
514
|
<View style={styles.groupedSectionWrapper}>
|
|
535
|
-
<
|
|
536
|
-
|
|
537
|
-
{
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
}
|
|
545
|
-
{
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
icon: 'check-circle',
|
|
556
|
-
iconColor: colors.sidebarIconPersonalInfo,
|
|
557
|
-
title: t('editProfile.items.verifyAccount.title') || 'Verify Account',
|
|
558
|
-
subtitle: t('editProfile.items.verifyAccount.subtitle') || 'Get a verified badge',
|
|
559
|
-
onPress: () => navigate?.('AccountVerification'),
|
|
560
|
-
},
|
|
561
|
-
]}
|
|
562
|
-
/>
|
|
515
|
+
<SettingsListGroup>
|
|
516
|
+
<SettingsListItem
|
|
517
|
+
icon={<MaterialCommunityIcons name="eye" size={20} color={colors.sidebarIconHome} />}
|
|
518
|
+
title={t('editProfile.items.previewProfile.title') || 'Preview Profile'}
|
|
519
|
+
description={t('editProfile.items.previewProfile.subtitle') || 'See how your profile looks to others'}
|
|
520
|
+
onPress={() => navigate?.('Profile', { userId: finalUser?.id })}
|
|
521
|
+
/>
|
|
522
|
+
<SettingsListItem
|
|
523
|
+
icon={<MaterialCommunityIcons name="shield-check" size={20} color={colors.sidebarIconSecurity} />}
|
|
524
|
+
title={t('editProfile.items.privacySettings.title') || 'Privacy Settings'}
|
|
525
|
+
description={t('editProfile.items.privacySettings.subtitle') || 'Control who can see your profile'}
|
|
526
|
+
onPress={() => navigate?.('PrivacySettings')}
|
|
527
|
+
/>
|
|
528
|
+
<SettingsListItem
|
|
529
|
+
icon={<MaterialCommunityIcons name="check-circle" size={20} color={colors.sidebarIconPersonalInfo} />}
|
|
530
|
+
title={t('editProfile.items.verifyAccount.title') || 'Verify Account'}
|
|
531
|
+
description={t('editProfile.items.verifyAccount.subtitle') || 'Get a verified badge'}
|
|
532
|
+
onPress={() => navigate?.('AccountVerification')}
|
|
533
|
+
/>
|
|
534
|
+
</SettingsListGroup>
|
|
563
535
|
</View>
|
|
564
536
|
</View>
|
|
565
537
|
|
|
@@ -21,7 +21,9 @@ import { usePromptControl } from '@oxyhq/bloom/prompt';
|
|
|
21
21
|
import OxyIcon from '../components/icon/OxyIcon';
|
|
22
22
|
import { Ionicons } from '@expo/vector-icons';
|
|
23
23
|
import Avatar from '../components/Avatar';
|
|
24
|
-
import { Header,
|
|
24
|
+
import { Header, LoadingState } from '../components';
|
|
25
|
+
import { SettingsListGroup, SettingsListItem } from '@oxyhq/bloom/settings-list';
|
|
26
|
+
import { SettingsIcon } from '../components/SettingsIcon';
|
|
25
27
|
import { useI18n } from '../hooks/useI18n';
|
|
26
28
|
import { useTheme } from '@oxyhq/bloom/theme';
|
|
27
29
|
import { useOxy } from '../context/OxyContext';
|
|
@@ -619,38 +621,28 @@ const ModernAccountSwitcherScreen: React.FC<BaseScreenProps> = ({
|
|
|
619
621
|
|
|
620
622
|
{/* Quick Actions */}
|
|
621
623
|
<View style={styles.section}>
|
|
622
|
-
<
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
icon: 'logout',
|
|
645
|
-
iconColor: '#FF3B30',
|
|
646
|
-
title: 'Sign Out All Accounts',
|
|
647
|
-
subtitle: 'Remove all accounts from this device',
|
|
648
|
-
onPress: confirmLogoutAll,
|
|
649
|
-
disabled: sessionsWithUsers.length === 0,
|
|
650
|
-
},
|
|
651
|
-
]}
|
|
652
|
-
|
|
653
|
-
/>
|
|
624
|
+
<SettingsListGroup title="Quick Actions">
|
|
625
|
+
<SettingsListItem
|
|
626
|
+
icon={<SettingsIcon name="account-plus" color="#007AFF" />}
|
|
627
|
+
title="Add Another Account"
|
|
628
|
+
description="Sign in with a different account"
|
|
629
|
+
onPress={() => navigate?.('OxyAuth')}
|
|
630
|
+
/>
|
|
631
|
+
<SettingsListItem
|
|
632
|
+
icon={<SettingsIcon name="cellphone" color="#5856D6" />}
|
|
633
|
+
title={`${showDeviceManagement ? 'Hide' : 'Manage'} Device Sessions`}
|
|
634
|
+
description="View and manage sessions on other devices"
|
|
635
|
+
onPress={() => setShowDeviceManagement(!showDeviceManagement)}
|
|
636
|
+
/>
|
|
637
|
+
<SettingsListItem
|
|
638
|
+
icon={<SettingsIcon name="logout" color="#FF3B30" />}
|
|
639
|
+
title="Sign Out All Accounts"
|
|
640
|
+
description="Remove all accounts from this device"
|
|
641
|
+
onPress={confirmLogoutAll}
|
|
642
|
+
disabled={sessionsWithUsers.length === 0}
|
|
643
|
+
destructive={true}
|
|
644
|
+
/>
|
|
645
|
+
</SettingsListGroup>
|
|
654
646
|
</View>
|
|
655
647
|
|
|
656
648
|
{/* Device Management Section */}
|
|
@@ -659,62 +651,53 @@ const ModernAccountSwitcherScreen: React.FC<BaseScreenProps> = ({
|
|
|
659
651
|
<Text style={styles.sectionTitle}>{t('accountSwitcher.sections.deviceSessions') || 'Device Sessions'}</Text>
|
|
660
652
|
|
|
661
653
|
{loadingDeviceSessions ? (
|
|
662
|
-
<
|
|
663
|
-
|
|
664
|
-
{
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
<ActivityIndicator size="small" color="#007AFF" style={{ marginRight: 16 }} />
|
|
673
|
-
),
|
|
674
|
-
},
|
|
675
|
-
]}
|
|
676
|
-
|
|
677
|
-
/>
|
|
654
|
+
<SettingsListGroup>
|
|
655
|
+
<SettingsListItem
|
|
656
|
+
icon={<SettingsIcon name="sync" color="#007AFF" />}
|
|
657
|
+
title={t('accountSwitcher.device.loadingTitle') || 'Loading device sessions...'}
|
|
658
|
+
description={t('accountSwitcher.device.loadingSubtitle') || 'Please wait while we fetch your device sessions'}
|
|
659
|
+
disabled={true}
|
|
660
|
+
rightElement={<ActivityIndicator size="small" color="#007AFF" />}
|
|
661
|
+
showChevron={false}
|
|
662
|
+
/>
|
|
663
|
+
</SettingsListGroup>
|
|
678
664
|
) : deviceSessions.length === 0 ? (
|
|
679
|
-
<
|
|
680
|
-
|
|
681
|
-
{
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
},
|
|
689
|
-
]}
|
|
690
|
-
|
|
691
|
-
/>
|
|
665
|
+
<SettingsListGroup>
|
|
666
|
+
<SettingsListItem
|
|
667
|
+
icon={<SettingsIcon name="cellphone" color="#ccc" />}
|
|
668
|
+
title={t('accountSwitcher.device.noneTitle') || 'No device sessions found'}
|
|
669
|
+
description={t('accountSwitcher.device.noneSubtitle') || 'Device session management not available'}
|
|
670
|
+
disabled={true}
|
|
671
|
+
showChevron={false}
|
|
672
|
+
/>
|
|
673
|
+
</SettingsListGroup>
|
|
692
674
|
) : (
|
|
693
|
-
<
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
675
|
+
<SettingsListGroup>
|
|
676
|
+
{deviceSessions.map((session) => (
|
|
677
|
+
<SettingsListItem
|
|
678
|
+
key={`device-session-${session.sessionId}`}
|
|
679
|
+
icon={<SettingsIcon name={session.isCurrent ? 'cellphone' : 'cellphone-basic'} color={session.isCurrent ? '#34C759' : '#8E8E93'} />}
|
|
680
|
+
title={`${session.deviceName} ${session.isCurrent ? `(${t('accountSwitcher.device.thisDevice') || 'This device'})` : ''}`}
|
|
681
|
+
description={t('accountSwitcher.device.lastActive', { date: new Date(session.lastActive).toLocaleDateString() }) || `Last active: ${new Date(session.lastActive).toLocaleDateString()}`}
|
|
682
|
+
onPress={session.isCurrent ? undefined : () => confirmRemoteSessionLogout(session.sessionId, session.deviceName)}
|
|
683
|
+
disabled={session.isCurrent || remotingLogoutSessionId === session.sessionId}
|
|
684
|
+
showChevron={false}
|
|
685
|
+
rightElement={!session.isCurrent ? (
|
|
686
|
+
<TouchableOpacity
|
|
687
|
+
style={styles.removeButton}
|
|
688
|
+
onPress={() => confirmRemoteSessionLogout(session.sessionId, session.deviceName)}
|
|
689
|
+
disabled={remotingLogoutSessionId === session.sessionId}
|
|
690
|
+
>
|
|
691
|
+
{remotingLogoutSessionId === session.sessionId ? (
|
|
692
|
+
<ActivityIndicator size="small" color="#FF3B30" />
|
|
693
|
+
) : (
|
|
694
|
+
<OxyIcon name="log-out" size={16} color="#FF3B30" />
|
|
695
|
+
)}
|
|
696
|
+
</TouchableOpacity>
|
|
697
|
+
) : undefined}
|
|
698
|
+
/>
|
|
699
|
+
))}
|
|
700
|
+
</SettingsListGroup>
|
|
718
701
|
)}
|
|
719
702
|
</View>
|
|
720
703
|
)}
|
|
@@ -722,34 +705,30 @@ const ModernAccountSwitcherScreen: React.FC<BaseScreenProps> = ({
|
|
|
722
705
|
{/* Empty State */}
|
|
723
706
|
{sessionsWithUsers.length === 0 && (
|
|
724
707
|
<View style={styles.section}>
|
|
725
|
-
<
|
|
726
|
-
|
|
727
|
-
{
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
<
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
},
|
|
750
|
-
]}
|
|
751
|
-
|
|
752
|
-
/>
|
|
708
|
+
<SettingsListGroup>
|
|
709
|
+
<SettingsListItem
|
|
710
|
+
icon={<SettingsIcon name="account-outline" color="#ccc" />}
|
|
711
|
+
title={t('accountSwitcher.empty.title') || 'No saved accounts'}
|
|
712
|
+
description={t('accountSwitcher.empty.subtitle') || 'Add another account to switch between them quickly'}
|
|
713
|
+
onPress={() => navigate?.('OxyAuth')}
|
|
714
|
+
rightElement={
|
|
715
|
+
<View style={styles.emptyStateContainer}>
|
|
716
|
+
<OxyIcon name="person-outline" size={48} color="#ccc" />
|
|
717
|
+
<Text style={styles.emptyStateTitle}>{t('accountSwitcher.empty.title') || 'No saved accounts'}</Text>
|
|
718
|
+
<Text style={styles.emptyStateDescription}>
|
|
719
|
+
{t('accountSwitcher.empty.subtitle') || 'Add another account to switch between them quickly'}
|
|
720
|
+
</Text>
|
|
721
|
+
<TouchableOpacity
|
|
722
|
+
style={styles.addAccountButton}
|
|
723
|
+
onPress={() => navigate?.('OxyAuth')}
|
|
724
|
+
>
|
|
725
|
+
<Text style={styles.addAccountButtonText}>{t('accountCenter.sections.addAccount') || 'Add Account'}</Text>
|
|
726
|
+
</TouchableOpacity>
|
|
727
|
+
</View>
|
|
728
|
+
}
|
|
729
|
+
showChevron={false}
|
|
730
|
+
/>
|
|
731
|
+
</SettingsListGroup>
|
|
753
732
|
</View>
|
|
754
733
|
)}
|
|
755
734
|
</>
|