@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
|
@@ -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>
|
|
@@ -18,8 +18,10 @@ import { toast } from '../../lib/sonner';
|
|
|
18
18
|
import { Ionicons } from '@expo/vector-icons';
|
|
19
19
|
import OxyServicesLogo from '../../assets/icons/OxyServices';
|
|
20
20
|
import { SettingsIcon } from '../components/SettingsIcon';
|
|
21
|
-
import {
|
|
21
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
22
22
|
import { useColorScheme } from '../hooks/useColorScheme';
|
|
23
|
+
import { Colors } from '../constants/theme';
|
|
24
|
+
import { normalizeColorScheme } from '../utils/themeUtils';
|
|
23
25
|
import { useOxy } from '../context/OxyContext';
|
|
24
26
|
import { useI18n } from '../hooks/useI18n';
|
|
25
27
|
import { SettingsListGroup, SettingsListItem } from '@oxyhq/bloom/settings-list';
|
|
@@ -47,11 +49,13 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
47
49
|
const [isRunningSystemCheck, setIsRunningSystemCheck] = useState(false);
|
|
48
50
|
const [connectionStatus, setConnectionStatus] = useState<'checking' | 'connected' | 'disconnected' | 'unknown'>('unknown');
|
|
49
51
|
|
|
52
|
+
const bloomTheme = useTheme();
|
|
50
53
|
const colorScheme = useColorScheme();
|
|
51
|
-
const
|
|
54
|
+
const normalizedColorScheme = normalizeColorScheme(colorScheme);
|
|
55
|
+
const themeColors = Colors[normalizedColorScheme];
|
|
52
56
|
// AppInfoScreen uses a slightly different light background
|
|
53
|
-
const backgroundColor =
|
|
54
|
-
const primaryColor =
|
|
57
|
+
const backgroundColor = bloomTheme.isDark ? bloomTheme.colors.background : '#f2f2f2';
|
|
58
|
+
const primaryColor = themeColors.iconSecurity;
|
|
55
59
|
|
|
56
60
|
useEffect(() => {
|
|
57
61
|
const updateDimensions = () => {
|
|
@@ -177,30 +181,30 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
177
181
|
onPress={() => copyToClipboard(packageInfo.name, t('appInfo.items.name'))}
|
|
178
182
|
/>
|
|
179
183
|
<SettingsListItem
|
|
180
|
-
icon={<SettingsIcon name="tag" color={
|
|
184
|
+
icon={<SettingsIcon name="tag" color={themeColors.iconData} />}
|
|
181
185
|
title={t('appInfo.items.version')}
|
|
182
186
|
description={packageInfo.version}
|
|
183
187
|
onPress={() => copyToClipboard(packageInfo.version, t('appInfo.items.version'))}
|
|
184
188
|
/>
|
|
185
189
|
<SettingsListItem
|
|
186
|
-
icon={<SettingsIcon name="file-document" color={
|
|
190
|
+
icon={<SettingsIcon name="file-document" color={themeColors.iconPersonalInfo} />}
|
|
187
191
|
title={t('appInfo.items.description')}
|
|
188
192
|
description={packageInfo.description || t('appInfo.items.noDescription')}
|
|
189
193
|
/>
|
|
190
194
|
<SettingsListItem
|
|
191
|
-
icon={<SettingsIcon name="code-tags" color={
|
|
195
|
+
icon={<SettingsIcon name="code-tags" color={themeColors.iconStorage} />}
|
|
192
196
|
title={t('appInfo.items.mainEntry')}
|
|
193
197
|
description={packageInfo.main || 'N/A'}
|
|
194
198
|
onPress={() => copyToClipboard(packageInfo.main || 'N/A', t('appInfo.items.mainEntry'))}
|
|
195
199
|
/>
|
|
196
200
|
<SettingsListItem
|
|
197
|
-
icon={<SettingsIcon name="library" color={
|
|
201
|
+
icon={<SettingsIcon name="library" color={themeColors.iconSharing} />}
|
|
198
202
|
title={t('appInfo.items.moduleEntry')}
|
|
199
203
|
description={packageInfo.module || 'N/A'}
|
|
200
204
|
onPress={() => copyToClipboard(packageInfo.module || 'N/A', t('appInfo.items.moduleEntry'))}
|
|
201
205
|
/>
|
|
202
206
|
<SettingsListItem
|
|
203
|
-
icon={<SettingsIcon name="wrench" color={
|
|
207
|
+
icon={<SettingsIcon name="wrench" color={themeColors.iconPersonalInfo} />}
|
|
204
208
|
title={t('appInfo.items.typesEntry')}
|
|
205
209
|
description={packageInfo.types || 'N/A'}
|
|
206
210
|
onPress={() => copyToClipboard(packageInfo.types || 'N/A', t('appInfo.items.typesEntry'))}
|
|
@@ -210,27 +214,27 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
210
214
|
{/* System Information */}
|
|
211
215
|
<SettingsListGroup title={t('appInfo.sections.system')}>
|
|
212
216
|
<SettingsListItem
|
|
213
|
-
icon={<SettingsIcon name="cellphone" color={
|
|
217
|
+
icon={<SettingsIcon name="cellphone" color={themeColors.iconSecurity} />}
|
|
214
218
|
title={t('appInfo.items.platform')}
|
|
215
219
|
description={Platform.OS}
|
|
216
220
|
/>
|
|
217
221
|
<SettingsListItem
|
|
218
|
-
icon={<SettingsIcon name="chip" color={
|
|
222
|
+
icon={<SettingsIcon name="chip" color={themeColors.iconData} />}
|
|
219
223
|
title={t('appInfo.items.platformVersion')}
|
|
220
224
|
description={systemInfo?.version || t('common.status.loading')}
|
|
221
225
|
/>
|
|
222
226
|
<SettingsListItem
|
|
223
|
-
icon={<SettingsIcon name="resize" color={
|
|
227
|
+
icon={<SettingsIcon name="resize" color={themeColors.iconStorage} />}
|
|
224
228
|
title={t('appInfo.items.screenWidth')}
|
|
225
229
|
description={`${systemInfo?.screenDimensions.width || 0}px`}
|
|
226
230
|
/>
|
|
227
231
|
<SettingsListItem
|
|
228
|
-
icon={<SettingsIcon name="resize" color={
|
|
232
|
+
icon={<SettingsIcon name="resize" color={themeColors.iconSharing} />}
|
|
229
233
|
title={t('appInfo.items.screenHeight')}
|
|
230
234
|
description={`${systemInfo?.screenDimensions.height || 0}px`}
|
|
231
235
|
/>
|
|
232
236
|
<SettingsListItem
|
|
233
|
-
icon={<SettingsIcon name="cog" color={
|
|
237
|
+
icon={<SettingsIcon name="cog" color={themeColors.iconPersonalInfo} />}
|
|
234
238
|
title={t('appInfo.items.environment')}
|
|
235
239
|
description={__DEV__ ? t('appInfo.items.development') : t('appInfo.items.production')}
|
|
236
240
|
/>
|
|
@@ -239,20 +243,20 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
239
243
|
{/* User Information */}
|
|
240
244
|
<SettingsListGroup title={t('appInfo.sections.user')}>
|
|
241
245
|
<SettingsListItem
|
|
242
|
-
icon={<SettingsIcon name="shield-check" color={isAuthenticated ?
|
|
246
|
+
icon={<SettingsIcon name="shield-check" color={isAuthenticated ? themeColors.iconPersonalInfo : themeColors.iconSharing} />}
|
|
243
247
|
title={t('appInfo.items.authStatus')}
|
|
244
248
|
description={isAuthenticated ? t('appInfo.items.authenticated') : t('appInfo.items.notAuthenticated')}
|
|
245
249
|
/>
|
|
246
250
|
{user && (
|
|
247
251
|
<>
|
|
248
252
|
<SettingsListItem
|
|
249
|
-
icon={<SettingsIcon name="account" color={
|
|
253
|
+
icon={<SettingsIcon name="account" color={themeColors.iconSecurity} />}
|
|
250
254
|
title={t('appInfo.items.userId')}
|
|
251
255
|
description={user.id}
|
|
252
256
|
onPress={() => copyToClipboard(user.id, t('appInfo.items.userId'))}
|
|
253
257
|
/>
|
|
254
258
|
<SettingsListItem
|
|
255
|
-
icon={<SettingsIcon name="at" color={
|
|
259
|
+
icon={<SettingsIcon name="at" color={themeColors.iconData} />}
|
|
256
260
|
title={t('appInfo.items.username')}
|
|
257
261
|
description={user.username || 'N/A'}
|
|
258
262
|
onPress={() => {
|
|
@@ -264,7 +268,7 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
264
268
|
}}
|
|
265
269
|
/>
|
|
266
270
|
<SettingsListItem
|
|
267
|
-
icon={<SettingsIcon name="email" color={
|
|
271
|
+
icon={<SettingsIcon name="email" color={themeColors.iconStorage} />}
|
|
268
272
|
title={t('appInfo.items.email')}
|
|
269
273
|
description={user.email || 'N/A'}
|
|
270
274
|
/>
|
|
@@ -276,7 +280,7 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
276
280
|
</>
|
|
277
281
|
)}
|
|
278
282
|
<SettingsListItem
|
|
279
|
-
icon={<SettingsIcon name="account-group" color={
|
|
283
|
+
icon={<SettingsIcon name="account-group" color={themeColors.iconPersonalInfo} />}
|
|
280
284
|
title={t('appInfo.items.totalActiveSessions')}
|
|
281
285
|
description={sessions?.length?.toString() || '0'}
|
|
282
286
|
/>
|
|
@@ -285,7 +289,7 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
285
289
|
{/* API Configuration */}
|
|
286
290
|
<SettingsListGroup title={t('appInfo.sections.api')}>
|
|
287
291
|
<SettingsListItem
|
|
288
|
-
icon={<SettingsIcon name="server" color={
|
|
292
|
+
icon={<SettingsIcon name="server" color={themeColors.iconSecurity} />}
|
|
289
293
|
title={t('appInfo.items.apiBaseUrl')}
|
|
290
294
|
description={oxyServices?.getBaseURL() || t('appInfo.items.notConfigured')}
|
|
291
295
|
onPress={() => copyToClipboard(oxyServices?.getBaseURL() || t('appInfo.items.notConfigured'), t('appInfo.items.apiBaseUrl'))}
|
|
@@ -293,7 +297,7 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
293
297
|
<SettingsListItem
|
|
294
298
|
icon={<SettingsIcon
|
|
295
299
|
name={connectionStatus === 'checking' ? 'sync' : connectionStatus === 'connected' ? 'wifi' : 'wifi-off'}
|
|
296
|
-
color={connectionStatus === 'checking' ?
|
|
300
|
+
color={connectionStatus === 'checking' ? themeColors.iconStorage : connectionStatus === 'connected' ? themeColors.iconPersonalInfo : themeColors.iconSharing}
|
|
297
301
|
/>}
|
|
298
302
|
title={t('appInfo.items.connectionStatus')}
|
|
299
303
|
description={connectionStatus === 'checking' ? t('appInfo.items.checking') : connectionStatus === 'connected' ? t('appInfo.items.connected') : connectionStatus === 'disconnected' ? t('appInfo.items.disconnected') : t('appInfo.items.unknown')}
|
|
@@ -321,7 +325,7 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
321
325
|
{/* Build Information */}
|
|
322
326
|
<SettingsListGroup title={t('appInfo.sections.build')}>
|
|
323
327
|
<SettingsListItem
|
|
324
|
-
icon={<SettingsIcon name="clock" color={
|
|
328
|
+
icon={<SettingsIcon name="clock" color={themeColors.iconSecurity} />}
|
|
325
329
|
title={t('appInfo.items.buildTimestamp')}
|
|
326
330
|
description={systemInfo?.timestamp || t('common.status.loading')}
|
|
327
331
|
onPress={() => copyToClipboard(systemInfo?.timestamp || t('common.status.loading'), t('appInfo.items.buildTimestamp'))}
|
|
@@ -332,7 +336,7 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
332
336
|
description={t('appInfo.items.reactNativeValue')}
|
|
333
337
|
/>
|
|
334
338
|
<SettingsListItem
|
|
335
|
-
icon={<SettingsIcon name="flash" color={
|
|
339
|
+
icon={<SettingsIcon name="flash" color={themeColors.iconSharing} />}
|
|
336
340
|
title={t('appInfo.items.jsEngine')}
|
|
337
341
|
description={t('appInfo.items.jsEngineValue')}
|
|
338
342
|
/>
|
|
@@ -341,7 +345,7 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
341
345
|
{/* Quick Actions */}
|
|
342
346
|
<SettingsListGroup title={t('appInfo.sections.quickActions')}>
|
|
343
347
|
<SettingsListItem
|
|
344
|
-
icon={<SettingsIcon name="content-copy" color={
|
|
348
|
+
icon={<SettingsIcon name="content-copy" color={themeColors.iconSecurity} />}
|
|
345
349
|
title={t('appInfo.items.copyFullReport')}
|
|
346
350
|
description={t('appInfo.items.copyFullReportSubtitle')}
|
|
347
351
|
onPress={handleCopyFullReport}
|
|
@@ -13,8 +13,7 @@ import {
|
|
|
13
13
|
} from 'react-native';
|
|
14
14
|
import { Ionicons } from '@expo/vector-icons';
|
|
15
15
|
import type { BaseScreenProps } from '../types/navigation';
|
|
16
|
-
import {
|
|
17
|
-
import { useColorScheme } from '../hooks/useColorScheme';
|
|
16
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
18
17
|
import { normalizeTheme } from '../utils/themeUtils';
|
|
19
18
|
import { Header } from '../components';
|
|
20
19
|
import { useI18n } from '../hooks/useI18n';
|
|
@@ -78,10 +77,8 @@ const EditProfileFieldScreen: React.FC<EditProfileFieldScreenProps> = ({
|
|
|
78
77
|
const { user } = useOxy();
|
|
79
78
|
const { t } = useI18n();
|
|
80
79
|
const { saveProfile, updateField, isSaving } = useProfileEditing();
|
|
81
|
-
const
|
|
80
|
+
const bloomTheme = useTheme();
|
|
82
81
|
const normalizedTheme = normalizeTheme(theme);
|
|
83
|
-
const themeStyles = useThemeStyles(normalizedTheme, colorScheme);
|
|
84
|
-
const colors = themeStyles.colors;
|
|
85
82
|
|
|
86
83
|
// State for field values
|
|
87
84
|
const [fieldValues, setFieldValues] = useState<Record<string, string>>({});
|
|
@@ -417,24 +414,24 @@ const EditProfileFieldScreen: React.FC<EditProfileFieldScreenProps> = ({
|
|
|
417
414
|
|
|
418
415
|
return (
|
|
419
416
|
<View key={field.key} style={styles.inputGroup}>
|
|
420
|
-
<Text style={[styles.label, { color: colors.text }]}>
|
|
417
|
+
<Text style={[styles.label, { color: bloomTheme.colors.text }]}>
|
|
421
418
|
{field.label}
|
|
422
419
|
</Text>
|
|
423
420
|
<TextInput
|
|
424
421
|
style={[
|
|
425
422
|
isTextarea ? styles.textArea : styles.input,
|
|
426
423
|
{
|
|
427
|
-
backgroundColor: colors.card,
|
|
428
|
-
color: colors.text,
|
|
429
|
-
borderColor: fieldErrors[field.key] ? '#FF3B30' : colors.border,
|
|
424
|
+
backgroundColor: bloomTheme.colors.card,
|
|
425
|
+
color: bloomTheme.colors.text,
|
|
426
|
+
borderColor: fieldErrors[field.key] ? '#FF3B30' : bloomTheme.colors.border,
|
|
430
427
|
},
|
|
431
428
|
]}
|
|
432
429
|
value={fieldValues[field.key] || ''}
|
|
433
430
|
onChangeText={(value) => handleFieldChange(field.key, value)}
|
|
434
431
|
placeholder={field.placeholder}
|
|
435
|
-
placeholderTextColor={colors.
|
|
432
|
+
placeholderTextColor={bloomTheme.colors.textSecondary}
|
|
436
433
|
autoFocus={index === 0}
|
|
437
|
-
selectionColor={colors.
|
|
434
|
+
selectionColor={bloomTheme.colors.primary}
|
|
438
435
|
{...field.inputProps}
|
|
439
436
|
/>
|
|
440
437
|
{fieldErrors[field.key] && (
|
|
@@ -459,23 +456,23 @@ const EditProfileFieldScreen: React.FC<EditProfileFieldScreenProps> = ({
|
|
|
459
456
|
return (
|
|
460
457
|
<>
|
|
461
458
|
<View style={styles.inputGroup}>
|
|
462
|
-
<Text style={[styles.label, { color: colors.text }]}>{addLabel}</Text>
|
|
459
|
+
<Text style={[styles.label, { color: bloomTheme.colors.text }]}>{addLabel}</Text>
|
|
463
460
|
<View style={styles.addItemRow}>
|
|
464
461
|
<TextInput
|
|
465
462
|
style={[
|
|
466
463
|
styles.input,
|
|
467
464
|
{
|
|
468
|
-
backgroundColor: colors.card,
|
|
469
|
-
color: colors.text,
|
|
470
|
-
borderColor: colors.border,
|
|
465
|
+
backgroundColor: bloomTheme.colors.card,
|
|
466
|
+
color: bloomTheme.colors.text,
|
|
467
|
+
borderColor: bloomTheme.colors.border,
|
|
471
468
|
flex: 1,
|
|
472
469
|
},
|
|
473
470
|
]}
|
|
474
471
|
value={newItemValue}
|
|
475
472
|
onChangeText={setNewItemValue}
|
|
476
473
|
placeholder={placeholder}
|
|
477
|
-
placeholderTextColor={colors.
|
|
478
|
-
selectionColor={colors.
|
|
474
|
+
placeholderTextColor={bloomTheme.colors.textSecondary}
|
|
475
|
+
selectionColor={bloomTheme.colors.primary}
|
|
479
476
|
autoCapitalize="none"
|
|
480
477
|
autoCorrect={false}
|
|
481
478
|
onSubmitEditing={handleAddItem}
|
|
@@ -485,7 +482,7 @@ const EditProfileFieldScreen: React.FC<EditProfileFieldScreenProps> = ({
|
|
|
485
482
|
<TouchableOpacity
|
|
486
483
|
style={[
|
|
487
484
|
styles.addButton,
|
|
488
|
-
{ backgroundColor: newItemValue.trim() ? colors.
|
|
485
|
+
{ backgroundColor: newItemValue.trim() ? bloomTheme.colors.primary : bloomTheme.colors.border }
|
|
489
486
|
]}
|
|
490
487
|
onPress={handleAddItem}
|
|
491
488
|
disabled={!newItemValue.trim()}
|
|
@@ -497,7 +494,7 @@ const EditProfileFieldScreen: React.FC<EditProfileFieldScreenProps> = ({
|
|
|
497
494
|
|
|
498
495
|
{listItems.length > 0 && (
|
|
499
496
|
<View style={styles.listSection}>
|
|
500
|
-
<Text style={[styles.listTitle, { color: colors.text }]}>
|
|
497
|
+
<Text style={[styles.listTitle, { color: bloomTheme.colors.text }]}>
|
|
501
498
|
{listTitle} ({listItems.length})
|
|
502
499
|
</Text>
|
|
503
500
|
{listItems.map((item: any) => (
|
|
@@ -505,18 +502,18 @@ const EditProfileFieldScreen: React.FC<EditProfileFieldScreenProps> = ({
|
|
|
505
502
|
key={item.id}
|
|
506
503
|
style={[
|
|
507
504
|
styles.listItem,
|
|
508
|
-
{ backgroundColor: colors.card, borderColor: colors.border }
|
|
505
|
+
{ backgroundColor: bloomTheme.colors.card, borderColor: bloomTheme.colors.border }
|
|
509
506
|
]}
|
|
510
507
|
>
|
|
511
508
|
{fieldType === 'links' && item.image && (
|
|
512
509
|
<Image source={{ uri: item.image }} style={styles.linkImage} />
|
|
513
510
|
)}
|
|
514
511
|
<View style={styles.listItemContent}>
|
|
515
|
-
<Text style={[styles.listItemTitle, { color: colors.text }]} numberOfLines={1}>
|
|
512
|
+
<Text style={[styles.listItemTitle, { color: bloomTheme.colors.text }]} numberOfLines={1}>
|
|
516
513
|
{fieldType === 'locations' ? item.name : (item.title || item.url)}
|
|
517
514
|
</Text>
|
|
518
515
|
{fieldType === 'links' && (
|
|
519
|
-
<Text style={[styles.listItemSubtitle, { color: colors.
|
|
516
|
+
<Text style={[styles.listItemSubtitle, { color: bloomTheme.colors.textSecondary }]} numberOfLines={1}>
|
|
520
517
|
{item.url}
|
|
521
518
|
</Text>
|
|
522
519
|
)}
|
|
@@ -537,7 +534,8 @@ const EditProfileFieldScreen: React.FC<EditProfileFieldScreenProps> = ({
|
|
|
537
534
|
|
|
538
535
|
return (
|
|
539
536
|
<KeyboardAvoidingView
|
|
540
|
-
style={
|
|
537
|
+
style={styles.container}
|
|
538
|
+
className="bg-background"
|
|
541
539
|
behavior={Platform.OS === 'ios' ? 'padding' : undefined}
|
|
542
540
|
>
|
|
543
541
|
<Header
|
|
@@ -563,18 +561,18 @@ const EditProfileFieldScreen: React.FC<EditProfileFieldScreenProps> = ({
|
|
|
563
561
|
>
|
|
564
562
|
{/* Big Title */}
|
|
565
563
|
<View style={styles.titleContainer}>
|
|
566
|
-
<Text style={[styles.bigTitle, { color: colors.text }]}>
|
|
564
|
+
<Text style={[styles.bigTitle, { color: bloomTheme.colors.text }]}>
|
|
567
565
|
{fieldConfig.title}
|
|
568
566
|
</Text>
|
|
569
567
|
{fieldConfig.subtitle && (
|
|
570
|
-
<Text style={[styles.bigSubtitle, { color: colors.
|
|
568
|
+
<Text style={[styles.bigSubtitle, { color: bloomTheme.colors.textSecondary }]}>
|
|
571
569
|
{fieldConfig.subtitle}
|
|
572
570
|
</Text>
|
|
573
571
|
)}
|
|
574
572
|
</View>
|
|
575
573
|
|
|
576
574
|
{/* Form Content */}
|
|
577
|
-
<View style={[styles.formCard, { backgroundColor: colors.card }]}>
|
|
575
|
+
<View style={[styles.formCard, { backgroundColor: bloomTheme.colors.card }]}>
|
|
578
576
|
{fieldConfig.isList ? renderListContent() : fieldConfig.fields.map(renderField)}
|
|
579
577
|
</View>
|
|
580
578
|
</ScrollView>
|