@oxyhq/services 6.9.33 → 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/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/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/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/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/package.json +1 -1
- 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/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
|
@@ -2,9 +2,9 @@ import type React from 'react';
|
|
|
2
2
|
import { View, Text, TouchableOpacity, Modal, ScrollView } from 'react-native';
|
|
3
3
|
import { Image as ExpoImage } from 'expo-image';
|
|
4
4
|
import { Ionicons } from '@expo/vector-icons';
|
|
5
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
5
6
|
import { formatFileSize, getFileIcon } from '../../utils/fileManagement';
|
|
6
7
|
import { fileManagementStyles } from './styles';
|
|
7
|
-
import type { ThemeStyles } from '../../hooks/useThemeStyles';
|
|
8
8
|
|
|
9
9
|
interface PendingFile {
|
|
10
10
|
file: File | Blob;
|
|
@@ -20,8 +20,9 @@ interface UploadPreviewProps {
|
|
|
20
20
|
onConfirm: () => void;
|
|
21
21
|
onCancel: () => void;
|
|
22
22
|
onRemoveFile: (index: number) => void;
|
|
23
|
-
themeStyles: ThemeStyles;
|
|
24
23
|
inline?: boolean; // New prop to support inline rendering without Modal
|
|
24
|
+
/** @deprecated No longer used. Colors are sourced from useTheme() internally. */
|
|
25
|
+
themeStyles?: unknown;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
const UploadPreviewContent: React.FC<{
|
|
@@ -29,26 +30,23 @@ const UploadPreviewContent: React.FC<{
|
|
|
29
30
|
onConfirm: () => void;
|
|
30
31
|
onCancel: () => void;
|
|
31
32
|
onRemoveFile: (index: number) => void;
|
|
32
|
-
themeStyles: ThemeStyles;
|
|
33
33
|
}> = ({
|
|
34
34
|
pendingFiles,
|
|
35
35
|
onConfirm,
|
|
36
36
|
onCancel,
|
|
37
37
|
onRemoveFile,
|
|
38
|
-
themeStyles,
|
|
39
38
|
}) => {
|
|
40
|
-
const
|
|
41
|
-
const borderColor = themeStyles.borderColor;
|
|
39
|
+
const { colors, isDark } = useTheme();
|
|
42
40
|
const totalSize = pendingFiles.reduce((sum, f) => sum + f.size, 0);
|
|
43
41
|
|
|
44
42
|
return (
|
|
45
|
-
<View style={
|
|
46
|
-
<View style={
|
|
47
|
-
<Text style={
|
|
43
|
+
<View className="bg-background" style={fileManagementStyles.uploadPreviewContainer}>
|
|
44
|
+
<View className="border-b border-border" style={fileManagementStyles.uploadPreviewHeader}>
|
|
45
|
+
<Text className="text-foreground" style={fileManagementStyles.uploadPreviewTitle}>
|
|
48
46
|
Review Files ({pendingFiles.length})
|
|
49
47
|
</Text>
|
|
50
48
|
<TouchableOpacity onPress={onCancel}>
|
|
51
|
-
<Ionicons name="close" size={24} color={
|
|
49
|
+
<Ionicons name="close" size={24} color={colors.text} />
|
|
52
50
|
</TouchableOpacity>
|
|
53
51
|
</View>
|
|
54
52
|
|
|
@@ -58,10 +56,8 @@ const UploadPreviewContent: React.FC<{
|
|
|
58
56
|
return (
|
|
59
57
|
<View
|
|
60
58
|
key={index}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
{ backgroundColor: themeStyles.secondaryBackgroundColor, borderColor }
|
|
64
|
-
]}
|
|
59
|
+
className="bg-secondary border-border"
|
|
60
|
+
style={fileManagementStyles.uploadPreviewItem}
|
|
65
61
|
>
|
|
66
62
|
{isImage && pendingFile.preview ? (
|
|
67
63
|
<ExpoImage
|
|
@@ -70,19 +66,19 @@ const UploadPreviewContent: React.FC<{
|
|
|
70
66
|
contentFit="cover"
|
|
71
67
|
/>
|
|
72
68
|
) : (
|
|
73
|
-
<View style={[fileManagementStyles.uploadPreviewIconContainer, { backgroundColor:
|
|
69
|
+
<View style={[fileManagementStyles.uploadPreviewIconContainer, { backgroundColor: isDark ? '#333333' : '#F0F0F0' }]}>
|
|
74
70
|
<Ionicons
|
|
75
71
|
name={getFileIcon(pendingFile.type) as React.ComponentProps<typeof Ionicons>['name']}
|
|
76
72
|
size={32}
|
|
77
|
-
color={
|
|
73
|
+
color={colors.primary}
|
|
78
74
|
/>
|
|
79
75
|
</View>
|
|
80
76
|
)}
|
|
81
77
|
<View style={fileManagementStyles.uploadPreviewInfo}>
|
|
82
|
-
<Text style={
|
|
78
|
+
<Text className="text-foreground" style={fileManagementStyles.uploadPreviewName} numberOfLines={1}>
|
|
83
79
|
{pendingFile.name}
|
|
84
80
|
</Text>
|
|
85
|
-
<Text style={
|
|
81
|
+
<Text className="text-muted-foreground" style={fileManagementStyles.uploadPreviewMeta}>
|
|
86
82
|
{formatFileSize(pendingFile.size)} • {pendingFile.type}
|
|
87
83
|
</Text>
|
|
88
84
|
</View>
|
|
@@ -90,36 +86,38 @@ const UploadPreviewContent: React.FC<{
|
|
|
90
86
|
style={fileManagementStyles.uploadPreviewRemove}
|
|
91
87
|
onPress={() => onRemoveFile(index)}
|
|
92
88
|
>
|
|
93
|
-
<Ionicons name="close-circle" size={24} color={
|
|
89
|
+
<Ionicons name="close-circle" size={24} color={colors.error} />
|
|
94
90
|
</TouchableOpacity>
|
|
95
91
|
</View>
|
|
96
92
|
);
|
|
97
93
|
})}
|
|
98
94
|
</ScrollView>
|
|
99
95
|
|
|
100
|
-
<View style={
|
|
96
|
+
<View className="border-t border-border" style={fileManagementStyles.uploadPreviewFooter}>
|
|
101
97
|
<View style={fileManagementStyles.uploadPreviewStats}>
|
|
102
|
-
<Text style={
|
|
98
|
+
<Text className="text-foreground" style={fileManagementStyles.uploadPreviewStatsText}>
|
|
103
99
|
{pendingFiles.length} file{pendingFiles.length !== 1 ? 's' : ''}
|
|
104
100
|
</Text>
|
|
105
|
-
<Text style={
|
|
101
|
+
<Text className="text-foreground" style={fileManagementStyles.uploadPreviewStatsText}>
|
|
106
102
|
{formatFileSize(totalSize)}
|
|
107
103
|
</Text>
|
|
108
104
|
</View>
|
|
109
105
|
<View style={fileManagementStyles.uploadPreviewActions}>
|
|
110
106
|
<TouchableOpacity
|
|
107
|
+
className="border-border"
|
|
111
108
|
style={[
|
|
112
109
|
fileManagementStyles.uploadPreviewCancelButton,
|
|
113
|
-
{
|
|
110
|
+
{ backgroundColor: 'transparent' }
|
|
114
111
|
]}
|
|
115
112
|
onPress={onCancel}
|
|
116
113
|
>
|
|
117
|
-
<Text style={
|
|
114
|
+
<Text className="text-foreground" style={fileManagementStyles.uploadPreviewCancelText}>
|
|
118
115
|
Cancel
|
|
119
116
|
</Text>
|
|
120
117
|
</TouchableOpacity>
|
|
121
118
|
<TouchableOpacity
|
|
122
|
-
|
|
119
|
+
className="bg-primary"
|
|
120
|
+
style={fileManagementStyles.uploadPreviewConfirmButton}
|
|
123
121
|
onPress={onConfirm}
|
|
124
122
|
>
|
|
125
123
|
<Ionicons name="cloud-upload" size={20} color="#FFFFFF" />
|
|
@@ -137,7 +135,6 @@ export const UploadPreview: React.FC<UploadPreviewProps> = ({
|
|
|
137
135
|
onConfirm,
|
|
138
136
|
onCancel,
|
|
139
137
|
onRemoveFile,
|
|
140
|
-
themeStyles,
|
|
141
138
|
inline = false,
|
|
142
139
|
}) => {
|
|
143
140
|
// If inline mode, render content directly without Modal
|
|
@@ -149,7 +146,6 @@ export const UploadPreview: React.FC<UploadPreviewProps> = ({
|
|
|
149
146
|
onConfirm={onConfirm}
|
|
150
147
|
onCancel={onCancel}
|
|
151
148
|
onRemoveFile={onRemoveFile}
|
|
152
|
-
themeStyles={themeStyles}
|
|
153
149
|
/>
|
|
154
150
|
);
|
|
155
151
|
}
|
|
@@ -167,7 +163,6 @@ export const UploadPreview: React.FC<UploadPreviewProps> = ({
|
|
|
167
163
|
onConfirm={onConfirm}
|
|
168
164
|
onCancel={onCancel}
|
|
169
165
|
onRemoveFile={onRemoveFile}
|
|
170
|
-
themeStyles={themeStyles}
|
|
171
166
|
/>
|
|
172
167
|
</Modal>
|
|
173
168
|
);
|
|
@@ -78,33 +78,34 @@ const DeleteAccountModal: React.FC<DeleteAccountModalProps> = ({
|
|
|
78
78
|
activeOpacity={1}
|
|
79
79
|
onPress={handleClose}
|
|
80
80
|
/>
|
|
81
|
-
<View style={
|
|
81
|
+
<View className="bg-background" style={styles.modal}>
|
|
82
82
|
<View style={styles.header}>
|
|
83
83
|
<OxyIcon name="alert" size={32} color={theme.colors.error} />
|
|
84
|
-
<Text style={
|
|
84
|
+
<Text className="text-destructive" style={styles.title}>
|
|
85
85
|
{t('deleteAccount.title') || 'Delete Account'}
|
|
86
86
|
</Text>
|
|
87
87
|
</View>
|
|
88
88
|
|
|
89
|
-
<Text style={
|
|
89
|
+
<Text className="text-foreground" style={styles.warning}>
|
|
90
90
|
{t('deleteAccount.warning') || 'This action cannot be undone. Your account and all associated data will be permanently deleted.'}
|
|
91
91
|
</Text>
|
|
92
92
|
|
|
93
93
|
{error && (
|
|
94
94
|
<View style={[styles.errorContainer, { backgroundColor: `${theme.colors.error}20` }]}>
|
|
95
|
-
<Text style={
|
|
95
|
+
<Text className="text-destructive" style={styles.errorText}>
|
|
96
96
|
{error}
|
|
97
97
|
</Text>
|
|
98
98
|
</View>
|
|
99
99
|
)}
|
|
100
100
|
|
|
101
101
|
<View style={styles.inputGroup}>
|
|
102
|
-
<Text style={
|
|
102
|
+
<Text className="text-muted-foreground" style={styles.label}>
|
|
103
103
|
{t('deleteAccount.passwordLabel') || 'Enter your password'}
|
|
104
104
|
</Text>
|
|
105
|
-
<View style={
|
|
105
|
+
<View className="border-border bg-background" style={styles.inputContainer}>
|
|
106
106
|
<TextInput
|
|
107
|
-
|
|
107
|
+
className="text-foreground"
|
|
108
|
+
style={styles.input}
|
|
108
109
|
value={password}
|
|
109
110
|
onChangeText={setPassword}
|
|
110
111
|
placeholder={t('deleteAccount.passwordPlaceholder') || 'Password'}
|
|
@@ -127,17 +128,16 @@ const DeleteAccountModal: React.FC<DeleteAccountModalProps> = ({
|
|
|
127
128
|
</View>
|
|
128
129
|
|
|
129
130
|
<View style={styles.inputGroup}>
|
|
130
|
-
<Text style={
|
|
131
|
+
<Text className="text-muted-foreground" style={styles.label}>
|
|
131
132
|
{t('deleteAccount.confirmLabel', { username }) || `Type "${username}" to confirm`}
|
|
132
133
|
</Text>
|
|
133
134
|
<TextInput
|
|
135
|
+
className="text-foreground bg-background"
|
|
134
136
|
style={[
|
|
135
137
|
styles.input,
|
|
136
138
|
styles.confirmInput,
|
|
137
139
|
{
|
|
138
140
|
borderColor: confirmUsername === username ? theme.colors.success : theme.colors.border,
|
|
139
|
-
backgroundColor: theme.colors.background,
|
|
140
|
-
color: theme.colors.text,
|
|
141
141
|
},
|
|
142
142
|
]}
|
|
143
143
|
value={confirmUsername}
|
|
@@ -152,11 +152,12 @@ const DeleteAccountModal: React.FC<DeleteAccountModalProps> = ({
|
|
|
152
152
|
|
|
153
153
|
<View style={styles.buttons}>
|
|
154
154
|
<TouchableOpacity
|
|
155
|
-
|
|
155
|
+
className="border-border"
|
|
156
|
+
style={[styles.button, styles.cancelButton]}
|
|
156
157
|
onPress={handleClose}
|
|
157
158
|
disabled={isDeleting}
|
|
158
159
|
>
|
|
159
|
-
<Text style={
|
|
160
|
+
<Text className="text-foreground" style={styles.buttonText}>
|
|
160
161
|
{t('common.cancel') || 'Cancel'}
|
|
161
162
|
</Text>
|
|
162
163
|
</TouchableOpacity>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
2
|
+
import { getTheme } from '../styles';
|
|
2
3
|
import type { InternalTheme } from './types';
|
|
3
4
|
|
|
4
5
|
/**
|
|
@@ -15,7 +16,19 @@ export const useInternalTheme = (
|
|
|
15
16
|
theme = 'dark';
|
|
16
17
|
}
|
|
17
18
|
|
|
18
|
-
const
|
|
19
|
+
const bloomTheme = useTheme();
|
|
20
|
+
const colors = {
|
|
21
|
+
text: bloomTheme.colors.text,
|
|
22
|
+
background: bloomTheme.colors.background,
|
|
23
|
+
inputBackground: bloomTheme.colors.backgroundSecondary,
|
|
24
|
+
placeholder: bloomTheme.colors.textTertiary,
|
|
25
|
+
primary: bloomTheme.colors.primary,
|
|
26
|
+
border: bloomTheme.colors.border,
|
|
27
|
+
error: bloomTheme.colors.error,
|
|
28
|
+
success: bloomTheme.colors.success,
|
|
29
|
+
warning: bloomTheme.colors.warning,
|
|
30
|
+
secondaryText: bloomTheme.colors.textSecondary,
|
|
31
|
+
};
|
|
19
32
|
const themeObj = getTheme(theme);
|
|
20
33
|
|
|
21
34
|
// Create InternalTheme compatible object
|
|
@@ -18,7 +18,7 @@ import Section from '../components/Section';
|
|
|
18
18
|
import QuickActions from '../components/QuickActions';
|
|
19
19
|
import { SettingsIcon } from '../components/SettingsIcon';
|
|
20
20
|
import { useI18n } from '../hooks/useI18n';
|
|
21
|
-
import {
|
|
21
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
22
22
|
import { useColorScheme } from '../hooks/useColorScheme';
|
|
23
23
|
import { Colors } from '../constants/theme';
|
|
24
24
|
import { normalizeColorScheme, normalizeTheme } from '../utils/themeUtils';
|
|
@@ -34,14 +34,11 @@ const AccountCenterScreen: React.FC<BaseScreenProps> = ({
|
|
|
34
34
|
// Use useOxy() hook for OxyContext values
|
|
35
35
|
const { user, logout, isLoading, sessions, isAuthenticated } = useOxy();
|
|
36
36
|
const { t } = useI18n();
|
|
37
|
+
const bloomTheme = useTheme();
|
|
37
38
|
const colorScheme = useColorScheme();
|
|
38
39
|
const normalizedTheme = normalizeTheme(theme);
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
const backgroundColor = themeStyles.isDarkTheme ? themeStyles.backgroundColor : '#f2f2f2';
|
|
42
|
-
// Extract commonly used colors for readability - ensure colors is always defined
|
|
43
|
-
const { textColor, primaryColor, dangerColor, colors: themeColors } = themeStyles;
|
|
44
|
-
const colors = themeColors || Colors[normalizeColorScheme(colorScheme, normalizedTheme)];
|
|
40
|
+
const dangerColor = bloomTheme.colors.error;
|
|
41
|
+
const colors = Colors[normalizeColorScheme(colorScheme, normalizedTheme)];
|
|
45
42
|
|
|
46
43
|
// Memoized logout handler - prevents unnecessary re-renders
|
|
47
44
|
const handleLogout = useCallback(async () => {
|
|
@@ -68,22 +65,22 @@ const AccountCenterScreen: React.FC<BaseScreenProps> = ({
|
|
|
68
65
|
|
|
69
66
|
if (!isAuthenticated) {
|
|
70
67
|
return (
|
|
71
|
-
<View style={
|
|
72
|
-
<Text style={
|
|
68
|
+
<View style={styles.container} className="bg-background">
|
|
69
|
+
<Text style={styles.message} className="text-foreground">{t('common.status.notSignedIn') || 'Not signed in'}</Text>
|
|
73
70
|
</View>
|
|
74
71
|
);
|
|
75
72
|
}
|
|
76
73
|
|
|
77
74
|
if (isLoading) {
|
|
78
75
|
return (
|
|
79
|
-
<View style={[styles.container, {
|
|
80
|
-
<ActivityIndicator size="large" color={
|
|
76
|
+
<View style={[styles.container, { justifyContent: 'center' }]} className="bg-background">
|
|
77
|
+
<ActivityIndicator size="large" color={bloomTheme.colors.primary} />
|
|
81
78
|
</View>
|
|
82
79
|
);
|
|
83
80
|
}
|
|
84
81
|
|
|
85
82
|
return (
|
|
86
|
-
<View style={
|
|
83
|
+
<View style={styles.container} className="bg-background">
|
|
87
84
|
{/* Header with user profile */}
|
|
88
85
|
{user && (
|
|
89
86
|
<ProfileCard
|
|
@@ -230,7 +227,7 @@ const AccountCenterScreen: React.FC<BaseScreenProps> = ({
|
|
|
230
227
|
</SettingsListGroup>
|
|
231
228
|
|
|
232
229
|
<View style={styles.versionContainer}>
|
|
233
|
-
<Text style={
|
|
230
|
+
<Text style={styles.versionText} className="text-muted-foreground">
|
|
234
231
|
{t('accountCenter.version', { version: packageInfo.version }) || `Version ${packageInfo.version}`}
|
|
235
232
|
</Text>
|
|
236
233
|
</View>
|
|
@@ -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'))}
|