@oxyhq/services 6.9.32 → 6.9.34
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/Avatar.js +5 -3
- package/lib/commonjs/ui/components/Avatar.js.map +1 -1
- package/lib/commonjs/ui/components/BottomSheet.js +2 -2
- package/lib/commonjs/ui/components/BottomSheet.js.map +1 -1
- package/lib/commonjs/ui/components/BottomSheetRouter.js +3 -4
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +13 -65
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedItem.js +12 -18
- package/lib/commonjs/ui/components/GroupedItem.js.map +1 -1
- package/lib/commonjs/ui/components/Header.js +11 -18
- package/lib/commonjs/ui/components/Header.js.map +1 -1
- package/lib/commonjs/ui/components/HelperText.js +6 -14
- package/lib/commonjs/ui/components/HelperText.js.map +1 -1
- package/lib/commonjs/ui/components/OxyLogo.js +4 -2
- package/lib/commonjs/ui/components/OxyLogo.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileCard.js +13 -20
- package/lib/commonjs/ui/components/ProfileCard.js.map +1 -1
- package/lib/commonjs/ui/components/QuickActions.js +9 -13
- package/lib/commonjs/ui/components/QuickActions.js.map +1 -1
- package/lib/commonjs/ui/components/SectionTitle.js +2 -8
- package/lib/commonjs/ui/components/SectionTitle.js.map +1 -1
- package/lib/commonjs/ui/components/SignInModal.js +10 -16
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +6 -4
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +6 -4
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +36 -51
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +68 -82
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +35 -48
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +22 -34
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/theming.js +14 -1
- package/lib/commonjs/ui/components/theming.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +15 -27
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +44 -49
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +22 -29
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +2 -25
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +20 -40
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +28 -24
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +25 -29
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +26 -27
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +70 -108
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +106 -119
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +13 -10
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +13 -10
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +9 -13
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +19 -20
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +16 -14
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/OxyAuthScreen.js +33 -60
- package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +2 -5
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +10 -16
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +65 -69
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +79 -110
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +16 -13
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +13 -17
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js +17 -30
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js +6 -12
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +41 -35
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +15 -14
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +7 -12
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +25 -23
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +9 -17
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +6 -11
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +18 -22
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +6 -11
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
- package/lib/module/ui/components/Avatar.js +5 -3
- package/lib/module/ui/components/Avatar.js.map +1 -1
- package/lib/module/ui/components/BottomSheet.js +2 -2
- package/lib/module/ui/components/BottomSheet.js.map +1 -1
- package/lib/module/ui/components/BottomSheetRouter.js +3 -4
- package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +12 -64
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/GroupedItem.js +12 -18
- package/lib/module/ui/components/GroupedItem.js.map +1 -1
- package/lib/module/ui/components/Header.js +11 -18
- package/lib/module/ui/components/Header.js.map +1 -1
- package/lib/module/ui/components/HelperText.js +6 -15
- package/lib/module/ui/components/HelperText.js.map +1 -1
- package/lib/module/ui/components/OxyLogo.js +4 -2
- package/lib/module/ui/components/OxyLogo.js.map +1 -1
- package/lib/module/ui/components/ProfileCard.js +13 -20
- package/lib/module/ui/components/ProfileCard.js.map +1 -1
- package/lib/module/ui/components/QuickActions.js +9 -13
- package/lib/module/ui/components/QuickActions.js.map +1 -1
- package/lib/module/ui/components/SectionTitle.js +2 -8
- package/lib/module/ui/components/SectionTitle.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +10 -16
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/components/TextField/TextFieldFlat.js +6 -4
- package/lib/module/ui/components/TextField/TextFieldFlat.js.map +1 -1
- package/lib/module/ui/components/TextField/TextFieldOutlined.js +6 -4
- package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +36 -51
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +68 -82
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +35 -48
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +22 -34
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/theming.js +15 -2
- package/lib/module/ui/components/theming.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +14 -26
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +45 -50
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +21 -28
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +2 -25
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +21 -41
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +28 -24
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +25 -29
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +26 -27
- package/lib/module/ui/screens/FAQScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +70 -108
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +106 -119
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +13 -10
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +13 -10
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +9 -13
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +19 -20
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +16 -14
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/OxyAuthScreen.js +33 -60
- package/lib/module/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +2 -5
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +10 -16
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +65 -69
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +77 -108
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +16 -13
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +13 -17
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/SessionManagementScreen.js +17 -30
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js +6 -12
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +39 -33
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +15 -14
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js +7 -12
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +25 -23
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +8 -16
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +6 -11
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +17 -21
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js +6 -11
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
- package/lib/typescript/commonjs/ui/components/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts +0 -11
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Header.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/HelperText.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/QuickActions.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SectionTitle.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/theming.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountCenterScreen.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/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.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/HelpSupportScreen.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/OxyAuthScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.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/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts +0 -11
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/GroupedItem.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Header.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/HelperText.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileCard.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/QuickActions.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SectionTitle.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +2 -2
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +2 -2
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +2 -2
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/theming.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountCenterScreen.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/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.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/HelpSupportScreen.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/OxyAuthScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SavesCollectionsScreen.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/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -1
- package/lib/typescript/nativewind-env.d.ts +1 -0
- package/package.json +8 -2
- package/src/nativewind-env.d.ts +1 -0
- package/src/ui/components/Avatar.tsx +3 -3
- package/src/ui/components/BottomSheet.tsx +2 -3
- package/src/ui/components/BottomSheetRouter.tsx +2 -2
- package/src/ui/components/FollowButton.tsx +14 -50
- package/src/ui/components/GroupedItem.tsx +8 -15
- package/src/ui/components/Header.tsx +7 -15
- package/src/ui/components/HelperText.tsx +4 -15
- package/src/ui/components/OxyLogo.tsx +2 -2
- package/src/ui/components/ProfileCard.tsx +14 -17
- package/src/ui/components/QuickActions.tsx +12 -14
- package/src/ui/components/SectionTitle.tsx +1 -7
- package/src/ui/components/SignInModal.tsx +4 -6
- package/src/ui/components/TextField/TextFieldFlat.tsx +4 -4
- package/src/ui/components/TextField/TextFieldOutlined.tsx +4 -4
- package/src/ui/components/fileManagement/FileDetailsModal.tsx +23 -22
- package/src/ui/components/fileManagement/FileViewer.tsx +57 -45
- package/src/ui/components/fileManagement/UploadPreview.tsx +23 -28
- package/src/ui/components/modals/DeleteAccountModal.tsx +13 -12
- package/src/ui/components/theming.tsx +15 -2
- package/src/ui/screens/AccountCenterScreen.tsx +10 -13
- package/src/ui/screens/AccountOverviewScreen.tsx +39 -39
- package/src/ui/screens/AccountSettingsScreen.tsx +15 -19
- package/src/ui/screens/AccountSwitcherScreen.tsx +1 -23
- package/src/ui/screens/AccountVerificationScreen.tsx +15 -33
- package/src/ui/screens/AppInfoScreen.tsx +28 -24
- package/src/ui/screens/EditProfileFieldScreen.tsx +24 -26
- package/src/ui/screens/FAQScreen.tsx +23 -23
- package/src/ui/screens/FeedbackScreen.tsx +47 -38
- package/src/ui/screens/FileManagementScreen.tsx +102 -116
- package/src/ui/screens/HelpSupportScreen.tsx +12 -8
- package/src/ui/screens/HistoryViewScreen.tsx +12 -8
- package/src/ui/screens/LanguageSelectorScreen.tsx +8 -11
- package/src/ui/screens/LearnMoreUsernamesScreen.tsx +17 -17
- package/src/ui/screens/LegalDocumentsScreen.tsx +14 -10
- package/src/ui/screens/OxyAuthScreen.tsx +17 -27
- package/src/ui/screens/PaymentGatewayScreen.tsx +1 -3
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +10 -7
- package/src/ui/screens/PrivacySettingsScreen.tsx +63 -65
- package/src/ui/screens/ProfileScreen.tsx +54 -58
- package/src/ui/screens/SavesCollectionsScreen.tsx +15 -11
- package/src/ui/screens/SearchSettingsScreen.tsx +11 -13
- package/src/ui/screens/SessionManagementScreen.tsx +12 -12
- package/src/ui/screens/UserLinksScreen.tsx +4 -8
- package/src/ui/screens/UserListScreen.tsx +34 -46
- package/src/ui/screens/WelcomeNewUserScreen.tsx +11 -6
- package/src/ui/screens/karma/KarmaAboutScreen.tsx +6 -10
- package/src/ui/screens/karma/KarmaCenterScreen.tsx +23 -19
- package/src/ui/screens/karma/KarmaFAQScreen.tsx +7 -14
- package/src/ui/screens/karma/KarmaLeaderboardScreen.tsx +5 -9
- package/src/ui/screens/karma/KarmaRewardsScreen.tsx +15 -17
- package/src/ui/screens/karma/KarmaRulesScreen.tsx +5 -9
|
@@ -23,10 +23,11 @@ import { Ionicons } from '@expo/vector-icons';
|
|
|
23
23
|
import { Section, GroupedSection, GroupedItem } from '../components';
|
|
24
24
|
import { SettingsIcon } from '../components/SettingsIcon';
|
|
25
25
|
import { useI18n } from '../hooks/useI18n';
|
|
26
|
-
import {
|
|
26
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
27
27
|
import { getDisplayName, getShortDisplayName } from '../utils/userUtils';
|
|
28
28
|
import { useColorScheme } from '../hooks/useColorScheme';
|
|
29
|
-
import {
|
|
29
|
+
import { Colors } from '../constants/theme';
|
|
30
|
+
import { normalizeColorScheme, normalizeTheme } from '../utils/themeUtils';
|
|
30
31
|
import { useOxy } from '../context/OxyContext';
|
|
31
32
|
import { useUsersBySessions } from '../hooks/queries/useAccountQueries';
|
|
32
33
|
import {
|
|
@@ -91,17 +92,16 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
91
92
|
const hasPlayedRef = useRef(false);
|
|
92
93
|
const insets = useSafeAreaInsets();
|
|
93
94
|
|
|
94
|
-
// Use
|
|
95
|
+
// Use bloom theme for ActivityIndicator and other non-style color props
|
|
96
|
+
const bloomTheme = useTheme();
|
|
95
97
|
const colorScheme = useColorScheme();
|
|
96
98
|
const normalizedTheme = normalizeTheme(theme);
|
|
97
|
-
|
|
98
|
-
const
|
|
99
|
-
...baseThemeStyles,
|
|
100
|
-
// AccountOverviewScreen uses a custom primary color (purple) instead of the default blue
|
|
99
|
+
// AccountOverviewScreen uses a custom primary color (purple) instead of the default blue
|
|
100
|
+
const themeColors = {
|
|
101
101
|
primaryColor: '#d169e5',
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
};
|
|
103
|
+
// Icon colors from the Colors constant
|
|
104
|
+
const baseThemeColors = Colors[normalizeColorScheme(colorScheme, normalizedTheme)];
|
|
105
105
|
|
|
106
106
|
// Compute user data for display
|
|
107
107
|
const displayName = useMemo(() => getDisplayName(user), [user]);
|
|
@@ -320,23 +320,23 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
320
320
|
|
|
321
321
|
if (!isAuthenticated) {
|
|
322
322
|
return (
|
|
323
|
-
<View style={
|
|
324
|
-
<Text style={
|
|
323
|
+
<View style={styles.container} className="bg-background">
|
|
324
|
+
<Text style={styles.message} className="text-foreground">{t('common.status.notSignedIn')}</Text>
|
|
325
325
|
</View>
|
|
326
326
|
);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
329
|
if (isLoading) {
|
|
330
330
|
return (
|
|
331
|
-
<View style={[styles.container, {
|
|
332
|
-
<ActivityIndicator size="large" color={
|
|
331
|
+
<View style={[styles.container, { justifyContent: 'center' }]} className="bg-background">
|
|
332
|
+
<ActivityIndicator size="large" color={themeColors.primaryColor} />
|
|
333
333
|
</View>
|
|
334
334
|
);
|
|
335
335
|
}
|
|
336
336
|
|
|
337
337
|
|
|
338
338
|
return (
|
|
339
|
-
<View style={
|
|
339
|
+
<View style={styles.container} className="bg-background">
|
|
340
340
|
<ScrollView
|
|
341
341
|
style={styles.content}
|
|
342
342
|
contentContainerStyle={styles.scrollContent}
|
|
@@ -370,10 +370,10 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
370
370
|
</TouchableOpacity>
|
|
371
371
|
</View>
|
|
372
372
|
<View style={styles.nameWrapper}>
|
|
373
|
-
<Text style={
|
|
373
|
+
<Text style={styles.welcomeText} className="text-foreground">
|
|
374
374
|
{displayName}
|
|
375
375
|
</Text>
|
|
376
|
-
<Text style={
|
|
376
|
+
<Text style={styles.welcomeSubtext} className="text-muted-foreground">
|
|
377
377
|
Manage your Oxy account.
|
|
378
378
|
</Text>
|
|
379
379
|
</View>
|
|
@@ -384,7 +384,7 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
384
384
|
{/* User Profile Section */}
|
|
385
385
|
<SettingsListGroup title={t('accountOverview.sections.profile')}>
|
|
386
386
|
<SettingsListItem
|
|
387
|
-
icon={<SettingsIcon name="account" color={
|
|
387
|
+
icon={<SettingsIcon name="account" color={baseThemeColors.iconSecurity} />}
|
|
388
388
|
title={displayName}
|
|
389
389
|
description={user ? (user.email || user.username) : (t('common.status.loading') || 'Loading...')}
|
|
390
390
|
onPress={() => navigate?.('AccountSettings', { activeTab: 'profile' })}
|
|
@@ -394,32 +394,32 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
394
394
|
{/* Account Settings */}
|
|
395
395
|
<SettingsListGroup title={t('accountOverview.sections.accountSettings')}>
|
|
396
396
|
<SettingsListItem
|
|
397
|
-
icon={<SettingsIcon name="account-circle" color={
|
|
397
|
+
icon={<SettingsIcon name="account-circle" color={baseThemeColors.iconPersonalInfo} />}
|
|
398
398
|
title={t('accountOverview.items.editProfile.title')}
|
|
399
399
|
description={t('accountOverview.items.editProfile.subtitle')}
|
|
400
400
|
onPress={() => navigate?.('AccountSettings', { activeTab: 'profile' })}
|
|
401
401
|
/>
|
|
402
402
|
<SettingsListItem
|
|
403
|
-
icon={<SettingsIcon name="shield-check" color={
|
|
403
|
+
icon={<SettingsIcon name="shield-check" color={baseThemeColors.iconSecurity} />}
|
|
404
404
|
title={t('accountOverview.items.security.title')}
|
|
405
405
|
description={t('accountOverview.items.security.subtitle')}
|
|
406
406
|
onPress={() => navigate?.('AccountSettings', { activeTab: 'password' })}
|
|
407
407
|
/>
|
|
408
408
|
<SettingsListItem
|
|
409
|
-
icon={<SettingsIcon name="bell" color={
|
|
409
|
+
icon={<SettingsIcon name="bell" color={baseThemeColors.iconStorage} />}
|
|
410
410
|
title={t('accountOverview.items.notifications.title')}
|
|
411
411
|
description={t('accountOverview.items.notifications.subtitle')}
|
|
412
412
|
onPress={() => navigate?.('AccountSettings', { activeTab: 'notifications' })}
|
|
413
413
|
/>
|
|
414
414
|
<SettingsListItem
|
|
415
|
-
icon={<SettingsIcon name="star" color={
|
|
415
|
+
icon={<SettingsIcon name="star" color={baseThemeColors.iconPayments} />}
|
|
416
416
|
title={t('accountOverview.items.premium.title')}
|
|
417
417
|
description={user?.isPremium ? t('accountOverview.items.premium.manage') : t('accountOverview.items.premium.upgrade')}
|
|
418
418
|
onPress={() => navigate?.('PremiumSubscription')}
|
|
419
419
|
/>
|
|
420
420
|
{user?.isPremium ? (
|
|
421
421
|
<SettingsListItem
|
|
422
|
-
icon={<SettingsIcon name="credit-card" color={
|
|
422
|
+
icon={<SettingsIcon name="credit-card" color={baseThemeColors.iconPersonalInfo} />}
|
|
423
423
|
title={t('accountOverview.items.billing.title')}
|
|
424
424
|
description={t('accountOverview.items.billing.subtitle')}
|
|
425
425
|
onPress={() => toast.info(t('accountOverview.items.billing.coming'))}
|
|
@@ -436,12 +436,12 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
436
436
|
{
|
|
437
437
|
id: 'loading-accounts',
|
|
438
438
|
icon: 'sync',
|
|
439
|
-
iconColor:
|
|
439
|
+
iconColor: baseThemeColors.iconSecurity,
|
|
440
440
|
title: t('accountOverview.loadingAdditional.title') || 'Loading accounts...',
|
|
441
441
|
subtitle: t('accountOverview.loadingAdditional.subtitle') || 'Please wait while we load your additional accounts',
|
|
442
442
|
customContent: (
|
|
443
443
|
<View style={styles.loadingContainer}>
|
|
444
|
-
<ActivityIndicator size="small" color={
|
|
444
|
+
<ActivityIndicator size="small" color={baseThemeColors.iconSecurity} />
|
|
445
445
|
<Text style={styles.loadingText}>{t('accountOverview.loadingAdditional.title') || 'Loading accounts...'}</Text>
|
|
446
446
|
</View>
|
|
447
447
|
),
|
|
@@ -454,7 +454,7 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
454
454
|
items={additionalAccountsData.map((account, index) => ({
|
|
455
455
|
id: `account-${account.id}`,
|
|
456
456
|
icon: 'account',
|
|
457
|
-
iconColor:
|
|
457
|
+
iconColor: baseThemeColors.iconData,
|
|
458
458
|
title: typeof account.name === 'object'
|
|
459
459
|
? account.name?.full || account.name?.first || account.username
|
|
460
460
|
: account.name || account.username,
|
|
@@ -505,13 +505,13 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
505
505
|
{showMoreAccounts && (
|
|
506
506
|
<SettingsListGroup title={t('accountOverview.sections.accountManagement') || 'Account Management'}>
|
|
507
507
|
<SettingsListItem
|
|
508
|
-
icon={<SettingsIcon name="plus" color={
|
|
508
|
+
icon={<SettingsIcon name="plus" color={baseThemeColors.iconSecurity} />}
|
|
509
509
|
title={t('accountOverview.items.addAccount.title') || 'Add Another Account'}
|
|
510
510
|
description={t('accountOverview.items.addAccount.subtitle') || 'Sign in with a different account'}
|
|
511
511
|
onPress={handleAddAccount}
|
|
512
512
|
/>
|
|
513
513
|
<SettingsListItem
|
|
514
|
-
icon={<SettingsIcon name="logout" color={
|
|
514
|
+
icon={<SettingsIcon name="logout" color={baseThemeColors.iconSharing} />}
|
|
515
515
|
title={t('accountOverview.items.signOutAll.title') || 'Sign out of all accounts'}
|
|
516
516
|
description={t('accountOverview.items.signOutAll.subtitle') || 'Remove all accounts from this device'}
|
|
517
517
|
onPress={handleSignOutAll}
|
|
@@ -522,7 +522,7 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
522
522
|
{/* Quick Actions */}
|
|
523
523
|
<SettingsListGroup title={t('accountOverview.sections.quickActions')}>
|
|
524
524
|
<SettingsListItem
|
|
525
|
-
icon={<SettingsIcon name="account-group" color={
|
|
525
|
+
icon={<SettingsIcon name="account-group" color={baseThemeColors.iconData} />}
|
|
526
526
|
title={showMoreAccounts
|
|
527
527
|
? t('accountOverview.items.accountSwitcher.titleHide')
|
|
528
528
|
: t('accountOverview.items.accountSwitcher.titleShow')}
|
|
@@ -536,25 +536,25 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
536
536
|
onPress={() => setShowMoreAccounts(!showMoreAccounts)}
|
|
537
537
|
/>
|
|
538
538
|
<SettingsListItem
|
|
539
|
-
icon={<SettingsIcon name="clock" color={
|
|
539
|
+
icon={<SettingsIcon name="clock" color={baseThemeColors.iconSecurity} />}
|
|
540
540
|
title={t('accountOverview.items.history.title') || 'History'}
|
|
541
541
|
description={t('accountOverview.items.history.subtitle') || 'View and manage your search history'}
|
|
542
542
|
onPress={() => navigate?.('HistoryView')}
|
|
543
543
|
/>
|
|
544
544
|
<SettingsListItem
|
|
545
|
-
icon={<SettingsIcon name="bookmark" color={
|
|
545
|
+
icon={<SettingsIcon name="bookmark" color={baseThemeColors.iconStorage} />}
|
|
546
546
|
title={t('accountOverview.items.saves.title') || 'Saves & Collections'}
|
|
547
547
|
description={t('accountOverview.items.saves.subtitle') || 'View your saved items and collections'}
|
|
548
548
|
onPress={() => navigate?.('SavesCollections')}
|
|
549
549
|
/>
|
|
550
550
|
<SettingsListItem
|
|
551
|
-
icon={<SettingsIcon name="download" color={
|
|
551
|
+
icon={<SettingsIcon name="download" color={baseThemeColors.iconPersonalInfo} />}
|
|
552
552
|
title={t('accountOverview.items.downloadData.title')}
|
|
553
553
|
description={t('accountOverview.items.downloadData.subtitle')}
|
|
554
554
|
onPress={handleDownloadData}
|
|
555
555
|
/>
|
|
556
556
|
<SettingsListItem
|
|
557
|
-
icon={<SettingsIcon name="delete" color={
|
|
557
|
+
icon={<SettingsIcon name="delete" color={baseThemeColors.iconSharing} />}
|
|
558
558
|
title={t('accountOverview.items.deleteAccount.title')}
|
|
559
559
|
description={t('accountOverview.items.deleteAccount.subtitle')}
|
|
560
560
|
onPress={handleDeleteAccount}
|
|
@@ -564,13 +564,13 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
564
564
|
{/* Support & Settings */}
|
|
565
565
|
<SettingsListGroup title={t('accountOverview.sections.support')}>
|
|
566
566
|
<SettingsListItem
|
|
567
|
-
icon={<SettingsIcon name="magnify" color={
|
|
567
|
+
icon={<SettingsIcon name="magnify" color={baseThemeColors.iconSecurity} />}
|
|
568
568
|
title={t('accountOverview.items.searchSettings.title') || 'Search Settings'}
|
|
569
569
|
description={t('accountOverview.items.searchSettings.subtitle') || 'SafeSearch and personalization'}
|
|
570
570
|
onPress={() => navigate?.('SearchSettings')}
|
|
571
571
|
/>
|
|
572
572
|
<SettingsListItem
|
|
573
|
-
icon={<SettingsIcon name="translate" color={
|
|
573
|
+
icon={<SettingsIcon name="translate" color={baseThemeColors.iconPersonalInfo} />}
|
|
574
574
|
title={t('accountOverview.items.language.title') || 'Language'}
|
|
575
575
|
description={t('accountOverview.items.language.subtitle') || 'Choose your preferred language'}
|
|
576
576
|
onPress={() => navigate?.('LanguageSelector')}
|
|
@@ -582,25 +582,25 @@ const AccountOverviewScreen: React.FC<BaseScreenProps> = ({
|
|
|
582
582
|
onPress={() => toast.info(t('accountOverview.items.preferences.coming'))}
|
|
583
583
|
/>
|
|
584
584
|
<SettingsListItem
|
|
585
|
-
icon={<SettingsIcon name="help-circle" color={
|
|
585
|
+
icon={<SettingsIcon name="help-circle" color={baseThemeColors.iconSecurity} />}
|
|
586
586
|
title={t('accountOverview.items.help.title')}
|
|
587
587
|
description={t('accountOverview.items.help.subtitle')}
|
|
588
588
|
onPress={() => navigate?.('HelpSupport')}
|
|
589
589
|
/>
|
|
590
590
|
<SettingsListItem
|
|
591
|
-
icon={<SettingsIcon name="shield-check" color={
|
|
591
|
+
icon={<SettingsIcon name="shield-check" color={baseThemeColors.iconPersonalInfo} />}
|
|
592
592
|
title={t('accountOverview.items.privacyPolicy.title') || 'Privacy Policy'}
|
|
593
593
|
description={t('accountOverview.items.privacyPolicy.subtitle') || 'How we handle your data'}
|
|
594
594
|
onPress={() => navigate?.('LegalDocuments', { initialStep: 1 })}
|
|
595
595
|
/>
|
|
596
596
|
<SettingsListItem
|
|
597
|
-
icon={<SettingsIcon name="file-document" color={
|
|
597
|
+
icon={<SettingsIcon name="file-document" color={baseThemeColors.iconSecurity} />}
|
|
598
598
|
title={t('accountOverview.items.termsOfService.title') || 'Terms of Service'}
|
|
599
599
|
description={t('accountOverview.items.termsOfService.subtitle') || 'Terms and conditions of use'}
|
|
600
600
|
onPress={() => navigate?.('LegalDocuments', { initialStep: 2 })}
|
|
601
601
|
/>
|
|
602
602
|
<SettingsListItem
|
|
603
|
-
icon={<SettingsIcon name="link" color={
|
|
603
|
+
icon={<SettingsIcon name="link" color={baseThemeColors.iconPersonalInfo} />}
|
|
604
604
|
title={t('accountOverview.items.connectedApps.title')}
|
|
605
605
|
description={t('accountOverview.items.connectedApps.subtitle')}
|
|
606
606
|
onPress={() => toast.info(t('accountOverview.items.connectedApps.coming'))}
|
|
@@ -16,7 +16,7 @@ import { confirmAction } from '../utils/confirmAction';
|
|
|
16
16
|
import { useAuthStore } from '../stores/authStore';
|
|
17
17
|
import { GroupedSection } from '../components';
|
|
18
18
|
import { useI18n } from '../hooks/useI18n';
|
|
19
|
-
import {
|
|
19
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
20
20
|
import { useColorScheme } from '../hooks/useColorScheme';
|
|
21
21
|
import { Colors } from '../constants/theme';
|
|
22
22
|
import { normalizeColorScheme } from '../utils/themeUtils';
|
|
@@ -109,13 +109,12 @@ const AccountSettingsScreen: React.FC<BaseScreenProps & { initialField?: string;
|
|
|
109
109
|
}>>([]);
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
// Get theme colors
|
|
112
|
+
// Get theme colors
|
|
113
|
+
const bloomTheme = useTheme();
|
|
113
114
|
const colorScheme = useColorScheme();
|
|
114
|
-
const themeStyles = useThemeStyles(theme || 'light', colorScheme);
|
|
115
115
|
|
|
116
|
-
// Extract colors for convenience
|
|
117
|
-
|
|
118
|
-
const colors = themeStyles.colors || Colors[normalizeColorScheme(colorScheme, theme || 'light')];
|
|
116
|
+
// Extract colors for convenience
|
|
117
|
+
const colors = Colors[normalizeColorScheme(colorScheme, theme || 'light')];
|
|
119
118
|
|
|
120
119
|
|
|
121
120
|
// Track initialization to prevent unnecessary resets
|
|
@@ -317,17 +316,14 @@ const AccountSettingsScreen: React.FC<BaseScreenProps & { initialField?: string;
|
|
|
317
316
|
|
|
318
317
|
if (userLoading || !isAuthenticated) {
|
|
319
318
|
return (
|
|
320
|
-
<View style={[styles.container, {
|
|
321
|
-
|
|
322
|
-
justifyContent: 'center'
|
|
323
|
-
}]}>
|
|
324
|
-
<ActivityIndicator size="large" color={themeStyles.primaryColor} />
|
|
319
|
+
<View style={[styles.container, { justifyContent: 'center' }]} className="bg-background">
|
|
320
|
+
<ActivityIndicator size="large" color={bloomTheme.colors.primary} />
|
|
325
321
|
</View>
|
|
326
322
|
);
|
|
327
323
|
}
|
|
328
324
|
|
|
329
325
|
return (
|
|
330
|
-
<View style={
|
|
326
|
+
<View style={styles.container} className="bg-background">
|
|
331
327
|
<ScrollView
|
|
332
328
|
ref={scrollViewRef}
|
|
333
329
|
style={styles.content}
|
|
@@ -336,10 +332,10 @@ const AccountSettingsScreen: React.FC<BaseScreenProps & { initialField?: string;
|
|
|
336
332
|
>
|
|
337
333
|
{/* Title and Subtitle Header */}
|
|
338
334
|
<View style={[styles.headerContainer, styles.headerSection]}>
|
|
339
|
-
<Text style={[styles.modernTitle, {
|
|
335
|
+
<Text style={[styles.modernTitle, { marginBottom: 0, marginTop: 0 }]} className="text-foreground">
|
|
340
336
|
{t('accountOverview.items.editProfile.title') || t('editProfile.title') || 'Edit Profile'}
|
|
341
337
|
</Text>
|
|
342
|
-
<Text style={[styles.modernSubtitle, {
|
|
338
|
+
<Text style={[styles.modernSubtitle, { marginBottom: 0, marginTop: 0 }]} className="text-muted-foreground">
|
|
343
339
|
{t('accountOverview.items.editProfile.subtitle') || t('editProfile.subtitle') || 'Manage your profile and preferences'}
|
|
344
340
|
</Text>
|
|
345
341
|
</View>
|
|
@@ -356,7 +352,7 @@ const AccountSettingsScreen: React.FC<BaseScreenProps & { initialField?: string;
|
|
|
356
352
|
setProfilePictureSectionY(y);
|
|
357
353
|
}}
|
|
358
354
|
>
|
|
359
|
-
<Text style={
|
|
355
|
+
<Text style={styles.sectionTitle} className="text-muted-foreground">
|
|
360
356
|
{t('editProfile.sections.profilePicture') || 'PROFILE PICTURE'}
|
|
361
357
|
</Text>
|
|
362
358
|
<View style={styles.groupedSectionWrapper}>
|
|
@@ -430,7 +426,7 @@ const AccountSettingsScreen: React.FC<BaseScreenProps & { initialField?: string;
|
|
|
430
426
|
setBasicInfoSectionY(y);
|
|
431
427
|
}}
|
|
432
428
|
>
|
|
433
|
-
<Text style={
|
|
429
|
+
<Text style={styles.sectionTitle} className="text-muted-foreground">
|
|
434
430
|
{t('editProfile.sections.basicInfo') || 'BASIC INFORMATION'}
|
|
435
431
|
</Text>
|
|
436
432
|
<View style={styles.groupedSectionWrapper}>
|
|
@@ -474,7 +470,7 @@ const AccountSettingsScreen: React.FC<BaseScreenProps & { initialField?: string;
|
|
|
474
470
|
setAboutSectionY(y);
|
|
475
471
|
}}
|
|
476
472
|
>
|
|
477
|
-
<Text style={
|
|
473
|
+
<Text style={styles.sectionTitle} className="text-muted-foreground">
|
|
478
474
|
{t('editProfile.sections.about') || 'ABOUT YOU'}
|
|
479
475
|
</Text>
|
|
480
476
|
<View style={styles.groupedSectionWrapper}>
|
|
@@ -526,7 +522,7 @@ const AccountSettingsScreen: React.FC<BaseScreenProps & { initialField?: string;
|
|
|
526
522
|
setQuickActionsSectionY(y);
|
|
527
523
|
}}
|
|
528
524
|
>
|
|
529
|
-
<Text style={
|
|
525
|
+
<Text style={styles.sectionTitle} className="text-muted-foreground">
|
|
530
526
|
{t('editProfile.sections.quickActions') || 'QUICK ACTIONS'}
|
|
531
527
|
</Text>
|
|
532
528
|
<View style={styles.groupedSectionWrapper}>
|
|
@@ -570,7 +566,7 @@ const AccountSettingsScreen: React.FC<BaseScreenProps & { initialField?: string;
|
|
|
570
566
|
setSecuritySectionY(y);
|
|
571
567
|
}}
|
|
572
568
|
>
|
|
573
|
-
<Text style={
|
|
569
|
+
<Text style={styles.sectionTitle} className="text-muted-foreground">
|
|
574
570
|
{t('editProfile.sections.security') || 'SECURITY'}
|
|
575
571
|
</Text>
|
|
576
572
|
<View style={styles.groupedSectionWrapper}>
|
|
@@ -23,9 +23,6 @@ import { Ionicons } from '@expo/vector-icons';
|
|
|
23
23
|
import Avatar from '../components/Avatar';
|
|
24
24
|
import { Header, GroupedSection, LoadingState } from '../components';
|
|
25
25
|
import { useI18n } from '../hooks/useI18n';
|
|
26
|
-
import { useThemeStyles } from '../hooks/useThemeStyles';
|
|
27
|
-
import { useColorScheme } from '../hooks/useColorScheme';
|
|
28
|
-
import { normalizeTheme } from '../utils/themeUtils';
|
|
29
26
|
import { useOxy } from '../context/OxyContext';
|
|
30
27
|
|
|
31
28
|
interface SessionWithUser extends ClientSession {
|
|
@@ -76,25 +73,6 @@ const ModernAccountSwitcherScreen: React.FC<BaseScreenProps> = ({
|
|
|
76
73
|
|
|
77
74
|
const screenWidth = Dimensions.get('window').width;
|
|
78
75
|
const { t } = useI18n();
|
|
79
|
-
const colorScheme = useColorScheme();
|
|
80
|
-
const normalizedTheme = normalizeTheme(theme);
|
|
81
|
-
const themeStyles = useThemeStyles(normalizedTheme, colorScheme);
|
|
82
|
-
|
|
83
|
-
// Modern color scheme - memoized for performance
|
|
84
|
-
// Uses themeStyles for base colors, with some custom additions for this screen
|
|
85
|
-
const colors = useMemo(() => ({
|
|
86
|
-
background: themeStyles.backgroundColor,
|
|
87
|
-
surface: themeStyles.secondaryBackgroundColor,
|
|
88
|
-
card: themeStyles.isDarkTheme ? '#2C2C2E' : '#FFFFFF',
|
|
89
|
-
text: themeStyles.textColor,
|
|
90
|
-
secondaryText: themeStyles.isDarkTheme ? '#8E8E93' : '#6D6D70',
|
|
91
|
-
accent: themeStyles.primaryColor,
|
|
92
|
-
destructive: themeStyles.dangerColor,
|
|
93
|
-
success: themeStyles.successColor,
|
|
94
|
-
border: themeStyles.borderColor,
|
|
95
|
-
activeCard: themeStyles.isDarkTheme ? '#0A84FF20' : '#007AFF15',
|
|
96
|
-
shadow: themeStyles.isDarkTheme ? 'rgba(0,0,0,0.3)' : 'rgba(0,0,0,0.1)',
|
|
97
|
-
}), [themeStyles]);
|
|
98
76
|
|
|
99
77
|
// Refresh sessions when screen loads
|
|
100
78
|
useEffect(() => {
|
|
@@ -309,7 +287,7 @@ const ModernAccountSwitcherScreen: React.FC<BaseScreenProps> = ({
|
|
|
309
287
|
);
|
|
310
288
|
|
|
311
289
|
return (
|
|
312
|
-
<View style={
|
|
290
|
+
<View style={styles.container} className="bg-background">
|
|
313
291
|
{/* Header */}
|
|
314
292
|
<Header
|
|
315
293
|
title={t('accountSwitcher.title') || 'Account Switcher'}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useState, useCallback
|
|
1
|
+
import React, { useState, useCallback } from 'react';
|
|
2
2
|
import {
|
|
3
3
|
View,
|
|
4
4
|
Text,
|
|
@@ -13,8 +13,7 @@ import type { BaseScreenProps } from '../types/navigation';
|
|
|
13
13
|
import { toast } from '../../lib/sonner';
|
|
14
14
|
import { Header, Section } from '../components';
|
|
15
15
|
import { useI18n } from '../hooks/useI18n';
|
|
16
|
-
import {
|
|
17
|
-
import { normalizeTheme } from '../utils/themeUtils';
|
|
16
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
18
17
|
import { useOxy } from '../context/OxyContext';
|
|
19
18
|
|
|
20
19
|
const AccountVerificationScreen: React.FC<BaseScreenProps> = ({
|
|
@@ -29,14 +28,7 @@ const AccountVerificationScreen: React.FC<BaseScreenProps> = ({
|
|
|
29
28
|
const [evidence, setEvidence] = useState('');
|
|
30
29
|
const [isSubmitting, setIsSubmitting] = useState(false);
|
|
31
30
|
|
|
32
|
-
const
|
|
33
|
-
const baseThemeStyles = useThemeStyles(normalizedTheme);
|
|
34
|
-
const themeStyles = useMemo(() => ({
|
|
35
|
-
...baseThemeStyles,
|
|
36
|
-
inputBackgroundColor: baseThemeStyles.isDarkTheme ? '#1C1C1E' : '#F2F2F7',
|
|
37
|
-
inputTextColor: baseThemeStyles.textColor,
|
|
38
|
-
placeholderTextColor: baseThemeStyles.mutedTextColor,
|
|
39
|
-
}), [baseThemeStyles]);
|
|
31
|
+
const bloomTheme = useTheme();
|
|
40
32
|
|
|
41
33
|
const handleSubmit = useCallback(async () => {
|
|
42
34
|
if (!reason.trim()) {
|
|
@@ -83,10 +75,10 @@ const AccountVerificationScreen: React.FC<BaseScreenProps> = ({
|
|
|
83
75
|
}, [reason, evidence, oxyServices, t, goBack]);
|
|
84
76
|
|
|
85
77
|
return (
|
|
86
|
-
<View style={
|
|
78
|
+
<View style={styles.container} className="bg-background">
|
|
87
79
|
<Header
|
|
88
80
|
title={t('accountVerification.title') || 'Account Verification'}
|
|
89
|
-
|
|
81
|
+
|
|
90
82
|
onBack={goBack || onClose}
|
|
91
83
|
variant="minimal"
|
|
92
84
|
elevation="subtle"
|
|
@@ -94,30 +86,26 @@ const AccountVerificationScreen: React.FC<BaseScreenProps> = ({
|
|
|
94
86
|
|
|
95
87
|
<ScrollView style={styles.content}>
|
|
96
88
|
<Section isFirst={true}>
|
|
97
|
-
<Text style={
|
|
89
|
+
<Text style={styles.description} className="text-muted-foreground">
|
|
98
90
|
{t('accountVerification.description') || 'Request a verified badge for your account. Verified accounts help establish authenticity and credibility.'}
|
|
99
91
|
</Text>
|
|
100
92
|
</Section>
|
|
101
93
|
|
|
102
94
|
<Section title={t('accountVerification.sections.request') || 'VERIFICATION REQUEST'} >
|
|
103
95
|
<View style={styles.inputGroup}>
|
|
104
|
-
<Text style={
|
|
96
|
+
<Text style={styles.label} className="text-foreground">
|
|
105
97
|
{t('accountVerification.reasonLabel') || 'Reason for Verification *'}
|
|
106
98
|
</Text>
|
|
107
99
|
<TextInput
|
|
108
100
|
style={[
|
|
109
101
|
styles.textInput,
|
|
110
102
|
styles.textArea,
|
|
111
|
-
{
|
|
112
|
-
backgroundColor: themeStyles.inputBackgroundColor,
|
|
113
|
-
color: themeStyles.inputTextColor,
|
|
114
|
-
borderColor: themeStyles.borderColor,
|
|
115
|
-
},
|
|
116
103
|
]}
|
|
104
|
+
className="bg-secondary text-foreground border-border"
|
|
117
105
|
value={reason}
|
|
118
106
|
onChangeText={setReason}
|
|
119
107
|
placeholder={t('accountVerification.reasonPlaceholder') || 'Explain why you need a verified badge (e.g., public figure, brand, organization)'}
|
|
120
|
-
placeholderTextColor={
|
|
108
|
+
placeholderTextColor={bloomTheme.colors.textSecondary}
|
|
121
109
|
multiline
|
|
122
110
|
numberOfLines={4}
|
|
123
111
|
textAlignVertical="top"
|
|
@@ -126,23 +114,19 @@ const AccountVerificationScreen: React.FC<BaseScreenProps> = ({
|
|
|
126
114
|
</View>
|
|
127
115
|
|
|
128
116
|
<View style={styles.inputGroup}>
|
|
129
|
-
<Text style={
|
|
117
|
+
<Text style={styles.label} className="text-foreground">
|
|
130
118
|
{t('accountVerification.evidenceLabel') || 'Evidence (Optional)'}
|
|
131
119
|
</Text>
|
|
132
120
|
<TextInput
|
|
133
121
|
style={[
|
|
134
122
|
styles.textInput,
|
|
135
123
|
styles.textArea,
|
|
136
|
-
{
|
|
137
|
-
backgroundColor: themeStyles.inputBackgroundColor,
|
|
138
|
-
color: themeStyles.inputTextColor,
|
|
139
|
-
borderColor: themeStyles.borderColor,
|
|
140
|
-
},
|
|
141
124
|
]}
|
|
125
|
+
className="bg-secondary text-foreground border-border"
|
|
142
126
|
value={evidence}
|
|
143
127
|
onChangeText={setEvidence}
|
|
144
128
|
placeholder={t('accountVerification.evidencePlaceholder') || 'Provide any supporting documentation or links (e.g., official website, social media profiles)'}
|
|
145
|
-
placeholderTextColor={
|
|
129
|
+
placeholderTextColor={bloomTheme.colors.textSecondary}
|
|
146
130
|
multiline
|
|
147
131
|
numberOfLines={4}
|
|
148
132
|
textAlignVertical="top"
|
|
@@ -153,10 +137,8 @@ const AccountVerificationScreen: React.FC<BaseScreenProps> = ({
|
|
|
153
137
|
|
|
154
138
|
<Section >
|
|
155
139
|
<TouchableOpacity
|
|
156
|
-
style={
|
|
157
|
-
|
|
158
|
-
{ backgroundColor: isSubmitting ? themeStyles.mutedTextColor : '#007AFF' },
|
|
159
|
-
]}
|
|
140
|
+
style={styles.submitButton}
|
|
141
|
+
className={isSubmitting ? 'bg-muted-foreground' : 'bg-primary'}
|
|
160
142
|
onPress={handleSubmit}
|
|
161
143
|
disabled={isSubmitting || !reason.trim()}
|
|
162
144
|
>
|
|
@@ -171,7 +153,7 @@ const AccountVerificationScreen: React.FC<BaseScreenProps> = ({
|
|
|
171
153
|
</Section>
|
|
172
154
|
|
|
173
155
|
<Section >
|
|
174
|
-
<Text style={
|
|
156
|
+
<Text style={styles.note} className="text-muted-foreground">
|
|
175
157
|
{t('accountVerification.note') || 'Note: Verification requests are reviewed manually and may take several days. We will notify you once your request has been reviewed.'}
|
|
176
158
|
</Text>
|
|
177
159
|
</Section>
|