@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
|
@@ -14,8 +14,10 @@ import type { BaseScreenProps } from '../../types/navigation';
|
|
|
14
14
|
import { fontFamilies } from '../../styles/fonts';
|
|
15
15
|
import { Ionicons } from '@expo/vector-icons';
|
|
16
16
|
import { useI18n } from '../../hooks/useI18n';
|
|
17
|
-
import {
|
|
17
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
18
18
|
import { useColorScheme } from '../../hooks/useColorScheme';
|
|
19
|
+
import { Colors } from '../../constants/theme';
|
|
20
|
+
import { normalizeColorScheme } from '../../utils/themeUtils';
|
|
19
21
|
import { darkenColor } from '../../utils/colorUtils';
|
|
20
22
|
import { useOxy } from '../../context/OxyContext';
|
|
21
23
|
|
|
@@ -32,19 +34,21 @@ const KarmaCenterScreen: React.FC<BaseScreenProps> = ({
|
|
|
32
34
|
const [isLoading, setIsLoading] = useState(true);
|
|
33
35
|
const [error, setError] = useState<string | null>(null);
|
|
34
36
|
|
|
37
|
+
const bloomTheme = useTheme();
|
|
35
38
|
const colorScheme = useColorScheme();
|
|
36
|
-
const
|
|
39
|
+
const normalizedColorScheme = normalizeColorScheme(colorScheme);
|
|
40
|
+
const themeColors = Colors[normalizedColorScheme];
|
|
37
41
|
// Override primaryColor for Karma screens (purple instead of blue)
|
|
38
42
|
const primaryColor = '#d169e5';
|
|
39
|
-
const dangerColor =
|
|
40
|
-
const mutedTextColor =
|
|
43
|
+
const dangerColor = bloomTheme.colors.error || '#D32F2F';
|
|
44
|
+
const mutedTextColor = bloomTheme.isDark ? '#BBBBBB' : '#888888';
|
|
41
45
|
|
|
42
46
|
// Icon colors from theme
|
|
43
|
-
const iconLeaderboard =
|
|
44
|
-
const iconRules =
|
|
45
|
-
const iconAbout =
|
|
46
|
-
const iconRewards =
|
|
47
|
-
const iconFAQ =
|
|
47
|
+
const iconLeaderboard = themeColors.iconPayments;
|
|
48
|
+
const iconRules = themeColors.iconSecurity;
|
|
49
|
+
const iconAbout = themeColors.iconPayments;
|
|
50
|
+
const iconRewards = themeColors.iconStorage;
|
|
51
|
+
const iconFAQ = themeColors.iconPersonalInfo;
|
|
48
52
|
|
|
49
53
|
useEffect(() => {
|
|
50
54
|
if (!user) return;
|
|
@@ -66,26 +70,26 @@ const KarmaCenterScreen: React.FC<BaseScreenProps> = ({
|
|
|
66
70
|
|
|
67
71
|
if (!isAuthenticated) {
|
|
68
72
|
return (
|
|
69
|
-
<View style={
|
|
70
|
-
<Text style={[styles.message, { color:
|
|
73
|
+
<View style={styles.container} className="bg-background">
|
|
74
|
+
<Text style={[styles.message, { color: bloomTheme.colors.text }]}>{t('common.status.notSignedIn') || 'Not signed in'}</Text>
|
|
71
75
|
</View>
|
|
72
76
|
);
|
|
73
77
|
}
|
|
74
78
|
|
|
75
79
|
if (isLoading) {
|
|
76
80
|
return (
|
|
77
|
-
<View style={[styles.container, {
|
|
81
|
+
<View style={[styles.container, { justifyContent: 'center' }]} className="bg-background">
|
|
78
82
|
<ActivityIndicator size="large" color={primaryColor} />
|
|
79
83
|
</View>
|
|
80
84
|
);
|
|
81
85
|
}
|
|
82
86
|
|
|
83
87
|
return (
|
|
84
|
-
<View style={
|
|
88
|
+
<View style={styles.container} className="bg-background">
|
|
85
89
|
<ScrollView style={styles.scrollView} contentContainerStyle={styles.scrollContainer}>
|
|
86
90
|
<View style={styles.walletHeader}>
|
|
87
91
|
<Text style={[styles.karmaAmount, { color: primaryColor }]}>{karmaTotal ?? 0}</Text>
|
|
88
|
-
<Text style={[styles.karmaLabel, { color:
|
|
92
|
+
<Text style={[styles.karmaLabel, { color: bloomTheme.isDark ? '#BBBBBB' : '#888888' }]}>
|
|
89
93
|
{t('karma.center.balance') || 'Karma Balance'}
|
|
90
94
|
</Text>
|
|
91
95
|
<View style={styles.actionContainer}>
|
|
@@ -128,24 +132,24 @@ const KarmaCenterScreen: React.FC<BaseScreenProps> = ({
|
|
|
128
132
|
{t('karma.center.info') || 'Karma can only be earned by positive actions in the Oxy Ecosystem. It cannot be sent or received directly.'}
|
|
129
133
|
</Text>
|
|
130
134
|
</View>
|
|
131
|
-
<Text style={[styles.sectionTitle, { color:
|
|
135
|
+
<Text style={[styles.sectionTitle, { color: bloomTheme.colors.text }]}>
|
|
132
136
|
{t('karma.center.history') || 'Karma History'}
|
|
133
137
|
</Text>
|
|
134
138
|
<View style={styles.historyContainer}>
|
|
135
139
|
{karmaHistory.length === 0 ? (
|
|
136
|
-
<Text style={{ color:
|
|
140
|
+
<Text style={{ color: bloomTheme.colors.text, textAlign: 'center', marginTop: 16 }}>
|
|
137
141
|
{t('karma.center.noHistory') || 'No karma history yet.'}
|
|
138
142
|
</Text>
|
|
139
143
|
) : (
|
|
140
144
|
karmaHistory.map((entry: any) => (
|
|
141
|
-
<View key={entry.id} style={[styles.historyItem, { borderColor:
|
|
145
|
+
<View key={entry.id} style={[styles.historyItem, { borderColor: bloomTheme.colors.border }]}>
|
|
142
146
|
<Text style={[styles.historyPoints, { color: entry.points > 0 ? primaryColor : dangerColor }]}>
|
|
143
147
|
{entry.points > 0 ? '+' : ''}{entry.points}
|
|
144
148
|
</Text>
|
|
145
|
-
<Text style={[styles.historyDesc, { color:
|
|
149
|
+
<Text style={[styles.historyDesc, { color: bloomTheme.colors.text }]}>
|
|
146
150
|
{entry.reason || (t('karma.center.noDescription') || 'No description')}
|
|
147
151
|
</Text>
|
|
148
|
-
<Text style={[styles.historyDate, { color:
|
|
152
|
+
<Text style={[styles.historyDate, { color: bloomTheme.isDark ? '#BBBBBB' : '#888888' }]}>
|
|
149
153
|
{entry.createdAt ? new Date(entry.createdAt).toLocaleString() : ''}
|
|
150
154
|
</Text>
|
|
151
155
|
</View>
|
|
@@ -4,8 +4,8 @@ import type { BaseScreenProps } from '../../types/navigation';
|
|
|
4
4
|
import { Ionicons } from '@expo/vector-icons';
|
|
5
5
|
import { Header, GroupedItem } from '../../components';
|
|
6
6
|
import { useI18n } from '../../hooks/useI18n';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
8
|
+
import { normalizeColorScheme } from '../../utils/themeUtils';
|
|
9
9
|
import { useColorScheme } from '../../hooks/useColorScheme';
|
|
10
10
|
import { Colors } from '../../constants/theme';
|
|
11
11
|
|
|
@@ -26,17 +26,10 @@ const KarmaFAQScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
|
26
26
|
const [search, setSearch] = useState('');
|
|
27
27
|
|
|
28
28
|
// Memoize theme-related calculations to prevent unnecessary recalculations
|
|
29
|
-
const
|
|
30
|
-
const baseThemeStyles = useThemeStyles(normalizedTheme);
|
|
29
|
+
const bloomTheme = useTheme();
|
|
31
30
|
const colorScheme = useColorScheme();
|
|
32
31
|
const normalizedColorScheme = normalizeColorScheme(colorScheme);
|
|
33
32
|
const colors = Colors[normalizedColorScheme];
|
|
34
|
-
const themeStyles = useMemo(() => ({
|
|
35
|
-
...baseThemeStyles,
|
|
36
|
-
primaryColor: '#d169e5',
|
|
37
|
-
inputBg: baseThemeStyles.isDarkTheme ? '#23232b' : '#f2f2f7',
|
|
38
|
-
inputBorder: baseThemeStyles.borderColor,
|
|
39
|
-
}), [baseThemeStyles]);
|
|
40
33
|
|
|
41
34
|
// Memoize filtered FAQs to prevent filtering on every render
|
|
42
35
|
const faqs = useMemo(() => FAQ_KEYS.map(key => ({
|
|
@@ -61,7 +54,7 @@ const KarmaFAQScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
|
61
54
|
}, []);
|
|
62
55
|
|
|
63
56
|
return (
|
|
64
|
-
<View style={
|
|
57
|
+
<View style={styles.container} className="bg-background">
|
|
65
58
|
<Header
|
|
66
59
|
title={t('karma.faq.title') || 'Karma FAQ'}
|
|
67
60
|
subtitle={t('karma.faq.subtitle') || 'Frequently asked questions about karma'}
|
|
@@ -77,9 +70,9 @@ const KarmaFAQScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
|
77
70
|
<View style={[styles.searchContainer, { backgroundColor: colors.card }]}>
|
|
78
71
|
<Ionicons name="search" size={22} color={colors.icon} />
|
|
79
72
|
<TextInput
|
|
80
|
-
style={[styles.searchInput, { color:
|
|
73
|
+
style={[styles.searchInput, { color: bloomTheme.colors.text }]}
|
|
81
74
|
placeholder={t('karma.faq.search') || 'Search FAQ...'}
|
|
82
|
-
placeholderTextColor={
|
|
75
|
+
placeholderTextColor={bloomTheme.isDark ? '#BBBBBB' : '#888888'}
|
|
83
76
|
value={search}
|
|
84
77
|
onChangeText={setSearch}
|
|
85
78
|
returnKeyType="search"
|
|
@@ -114,7 +107,7 @@ const KarmaFAQScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
|
114
107
|
/>
|
|
115
108
|
{isExpanded && (
|
|
116
109
|
<View style={[styles.answerContainer, { backgroundColor: colors.card }, isLast && styles.lastAnswerContainer]}>
|
|
117
|
-
<Text style={[styles.answer, { color:
|
|
110
|
+
<Text style={[styles.answer, { color: bloomTheme.colors.text }]}>
|
|
118
111
|
{faq.a}
|
|
119
112
|
</Text>
|
|
120
113
|
</View>
|
|
@@ -5,9 +5,7 @@ import type { BaseScreenProps } from '../../types/navigation';
|
|
|
5
5
|
import Avatar from '../../components/Avatar';
|
|
6
6
|
import { Header } from '../../components';
|
|
7
7
|
import { useI18n } from '../../hooks/useI18n';
|
|
8
|
-
import {
|
|
9
|
-
import { normalizeTheme } from '../../utils/themeUtils';
|
|
10
|
-
import { useColorScheme } from '../../hooks/useColorScheme';
|
|
8
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
11
9
|
import { useOxy } from '../../context/OxyContext';
|
|
12
10
|
|
|
13
11
|
const KarmaLeaderboardScreen: React.FC<BaseScreenProps> = ({ goBack, theme, navigate }) => {
|
|
@@ -18,9 +16,7 @@ const KarmaLeaderboardScreen: React.FC<BaseScreenProps> = ({ goBack, theme, navi
|
|
|
18
16
|
const [isLoading, setIsLoading] = useState(true);
|
|
19
17
|
const [error, setError] = useState<string | null>(null);
|
|
20
18
|
|
|
21
|
-
const
|
|
22
|
-
const normalizedTheme = normalizeTheme(theme);
|
|
23
|
-
const themeStyles = useThemeStyles(normalizedTheme, colorScheme);
|
|
19
|
+
const bloomTheme = useTheme();
|
|
24
20
|
// Override primaryColor for Karma screens (purple instead of blue)
|
|
25
21
|
const primaryColor = '#d169e5';
|
|
26
22
|
|
|
@@ -34,7 +30,7 @@ const KarmaLeaderboardScreen: React.FC<BaseScreenProps> = ({ goBack, theme, navi
|
|
|
34
30
|
}, [oxyServices]);
|
|
35
31
|
|
|
36
32
|
return (
|
|
37
|
-
<View style={
|
|
33
|
+
<View style={styles.container} className="bg-background">
|
|
38
34
|
<Header
|
|
39
35
|
title={t('karma.leaderboard.title') || 'Karma Leaderboard'}
|
|
40
36
|
subtitle={t('karma.leaderboard.subtitle') || 'Top contributors in the community'}
|
|
@@ -49,7 +45,7 @@ const KarmaLeaderboardScreen: React.FC<BaseScreenProps> = ({ goBack, theme, navi
|
|
|
49
45
|
) : (
|
|
50
46
|
<ScrollView contentContainerStyle={styles.listContainer}>
|
|
51
47
|
{leaderboard.length === 0 ? (
|
|
52
|
-
<Text style={[styles.placeholder, { color:
|
|
48
|
+
<Text style={[styles.placeholder, { color: bloomTheme.colors.text }]}>{t('karma.leaderboard.empty') || 'No leaderboard data.'}</Text>
|
|
53
49
|
) : (
|
|
54
50
|
leaderboard.map((entry, idx) => (
|
|
55
51
|
<TouchableOpacity
|
|
@@ -60,7 +56,7 @@ const KarmaLeaderboardScreen: React.FC<BaseScreenProps> = ({ goBack, theme, navi
|
|
|
60
56
|
>
|
|
61
57
|
<Text style={[styles.rank, { color: primaryColor }]}>{idx + 1}</Text>
|
|
62
58
|
<Avatar name={entry.username || 'User'} size={40} style={styles.avatar} />
|
|
63
|
-
<Text style={[styles.username, { color:
|
|
59
|
+
<Text style={[styles.username, { color: bloomTheme.colors.text }]}>{entry.username || entry.userId}</Text>
|
|
64
60
|
<Text style={[styles.karma, { color: primaryColor }]}>{entry.total}</Text>
|
|
65
61
|
</TouchableOpacity>
|
|
66
62
|
))
|
|
@@ -5,8 +5,8 @@ import type { BaseScreenProps } from '../../types/navigation';
|
|
|
5
5
|
import { Header } from '../../components';
|
|
6
6
|
import { Ionicons } from '@expo/vector-icons';
|
|
7
7
|
import { useI18n } from '../../hooks/useI18n';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
8
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
9
|
+
import { normalizeColorScheme } from '../../utils/themeUtils';
|
|
10
10
|
import { useColorScheme } from '../../hooks/useColorScheme';
|
|
11
11
|
import { Colors } from '../../constants/theme';
|
|
12
12
|
import { useOxy } from '../../context/OxyContext';
|
|
@@ -31,15 +31,13 @@ const KarmaRewardsScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
|
31
31
|
const [karmaTotal, setKarmaTotal] = useState<number>(0);
|
|
32
32
|
const [isLoading, setIsLoading] = useState(true);
|
|
33
33
|
|
|
34
|
-
const
|
|
35
|
-
const baseThemeStyles = useThemeStyles(normalizedTheme);
|
|
34
|
+
const bloomTheme = useTheme();
|
|
36
35
|
const colorScheme = useColorScheme();
|
|
37
36
|
const normalizedColorScheme = normalizeColorScheme(colorScheme);
|
|
38
37
|
const colors = Colors[normalizedColorScheme];
|
|
39
38
|
const themeStyles = useMemo(() => ({
|
|
40
|
-
...baseThemeStyles,
|
|
41
39
|
primaryColor: '#d169e5',
|
|
42
|
-
}), [
|
|
40
|
+
}), []);
|
|
43
41
|
|
|
44
42
|
useEffect(() => {
|
|
45
43
|
if (!user || !isAuthenticated) {
|
|
@@ -322,10 +320,10 @@ const KarmaRewardsScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
|
322
320
|
)}
|
|
323
321
|
</View>
|
|
324
322
|
|
|
325
|
-
<Text style={[styles.achievementName, { color:
|
|
323
|
+
<Text style={[styles.achievementName, { color: bloomTheme.colors.text, opacity: isLocked ? 0.5 : 1 }]}>
|
|
326
324
|
{achievement.name}
|
|
327
325
|
</Text>
|
|
328
|
-
<Text style={[styles.achievementDescription, { color:
|
|
326
|
+
<Text style={[styles.achievementDescription, { color: bloomTheme.isDark ? '#BBBBBB' : '#888888', opacity: isLocked ? 0.5 : 1 }]}>
|
|
329
327
|
{achievement.description}
|
|
330
328
|
</Text>
|
|
331
329
|
</View>
|
|
@@ -334,7 +332,7 @@ const KarmaRewardsScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
|
334
332
|
|
|
335
333
|
if (!isAuthenticated) {
|
|
336
334
|
return (
|
|
337
|
-
<View style={
|
|
335
|
+
<View style={styles.container} className="bg-background">
|
|
338
336
|
<Header
|
|
339
337
|
title={t('karma.rewards.title') || 'Karma Rewards'}
|
|
340
338
|
subtitle={t('karma.rewards.subtitle') || 'Unlock special features and recognition'}
|
|
@@ -342,7 +340,7 @@ const KarmaRewardsScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
|
342
340
|
elevation="subtle"
|
|
343
341
|
/>
|
|
344
342
|
<View style={styles.centerContent}>
|
|
345
|
-
<Text style={[styles.message, { color:
|
|
343
|
+
<Text style={[styles.message, { color: bloomTheme.colors.text }]}>
|
|
346
344
|
{t('common.status.notSignedIn') || 'Not signed in'}
|
|
347
345
|
</Text>
|
|
348
346
|
</View>
|
|
@@ -351,7 +349,7 @@ const KarmaRewardsScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
|
351
349
|
}
|
|
352
350
|
|
|
353
351
|
return (
|
|
354
|
-
<View style={
|
|
352
|
+
<View style={styles.container} className="bg-background">
|
|
355
353
|
<Header
|
|
356
354
|
title={t('karma.rewards.title') || 'Karma Rewards'}
|
|
357
355
|
subtitle={t('karma.rewards.subtitle') || 'Unlock special features and recognition'}
|
|
@@ -369,7 +367,7 @@ const KarmaRewardsScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
|
369
367
|
<Text style={[styles.currentKarma, { color: themeStyles.primaryColor }]}>
|
|
370
368
|
{karmaTotal}
|
|
371
369
|
</Text>
|
|
372
|
-
<Text style={[styles.karmaLabel, { color:
|
|
370
|
+
<Text style={[styles.karmaLabel, { color: bloomTheme.isDark ? '#BBBBBB' : '#888888' }]}>
|
|
373
371
|
{t('karma.center.balance') || 'Karma Points'}
|
|
374
372
|
</Text>
|
|
375
373
|
</View>
|
|
@@ -377,13 +375,13 @@ const KarmaRewardsScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
|
377
375
|
<Text style={[styles.achievementCount, { color: themeStyles.primaryColor }]}>
|
|
378
376
|
{unlockedAchievements.length}
|
|
379
377
|
</Text>
|
|
380
|
-
<Text style={[styles.achievementCountLabel, { color:
|
|
378
|
+
<Text style={[styles.achievementCountLabel, { color: bloomTheme.isDark ? '#BBBBBB' : '#888888' }]}>
|
|
381
379
|
{t('karma.achievements.unlocked') || 'Achievements'}
|
|
382
380
|
</Text>
|
|
383
381
|
</View>
|
|
384
382
|
</View>
|
|
385
383
|
<View style={styles.progressBarContainer}>
|
|
386
|
-
<View style={[styles.progressBar, { backgroundColor:
|
|
384
|
+
<View style={[styles.progressBar, { backgroundColor: bloomTheme.colors.border }]}>
|
|
387
385
|
<View
|
|
388
386
|
style={[
|
|
389
387
|
styles.progressBarFill,
|
|
@@ -394,7 +392,7 @@ const KarmaRewardsScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
|
394
392
|
]}
|
|
395
393
|
/>
|
|
396
394
|
</View>
|
|
397
|
-
<Text style={[styles.progressText, { color:
|
|
395
|
+
<Text style={[styles.progressText, { color: bloomTheme.isDark ? '#BBBBBB' : '#888888' }]}>
|
|
398
396
|
{unlockedAchievements.length} / {achievements.length}
|
|
399
397
|
</Text>
|
|
400
398
|
</View>
|
|
@@ -403,7 +401,7 @@ const KarmaRewardsScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
|
403
401
|
{/* Unlocked Achievements */}
|
|
404
402
|
{unlockedAchievements.length > 0 && (
|
|
405
403
|
<>
|
|
406
|
-
<Text style={[styles.sectionTitle, { color:
|
|
404
|
+
<Text style={[styles.sectionTitle, { color: bloomTheme.colors.text }]}>
|
|
407
405
|
{t('karma.achievements.unlocked') || 'Unlocked Achievements'}
|
|
408
406
|
</Text>
|
|
409
407
|
<View style={styles.achievementsGrid}>
|
|
@@ -415,7 +413,7 @@ const KarmaRewardsScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
|
415
413
|
{/* Locked Achievements */}
|
|
416
414
|
{lockedAchievements.length > 0 && (
|
|
417
415
|
<>
|
|
418
|
-
<Text style={[styles.sectionTitle, { color:
|
|
416
|
+
<Text style={[styles.sectionTitle, { color: bloomTheme.colors.text }]}>
|
|
419
417
|
{t('karma.achievements.locked') || 'Locked Achievements'}
|
|
420
418
|
</Text>
|
|
421
419
|
<View style={styles.achievementsGrid}>
|
|
@@ -4,9 +4,7 @@ import { View, Text, StyleSheet, ScrollView, ActivityIndicator } from 'react-nat
|
|
|
4
4
|
import type { BaseScreenProps } from '../../types/navigation';
|
|
5
5
|
import { Header } from '../../components';
|
|
6
6
|
import { useI18n } from '../../hooks/useI18n';
|
|
7
|
-
import {
|
|
8
|
-
import { normalizeTheme } from '../../utils/themeUtils';
|
|
9
|
-
import { useColorScheme } from '../../hooks/useColorScheme';
|
|
7
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
10
8
|
import { useOxy } from '../../context/OxyContext';
|
|
11
9
|
|
|
12
10
|
const KarmaRulesScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
@@ -17,9 +15,7 @@ const KarmaRulesScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
|
17
15
|
const [isLoading, setIsLoading] = useState(true);
|
|
18
16
|
const [error, setError] = useState<string | null>(null);
|
|
19
17
|
|
|
20
|
-
const
|
|
21
|
-
const normalizedTheme = normalizeTheme(theme);
|
|
22
|
-
const themeStyles = useThemeStyles(normalizedTheme, colorScheme);
|
|
18
|
+
const bloomTheme = useTheme();
|
|
23
19
|
// Override primaryColor for Karma screens (purple instead of blue)
|
|
24
20
|
const primaryColor = '#d169e5';
|
|
25
21
|
|
|
@@ -33,7 +29,7 @@ const KarmaRulesScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
|
33
29
|
}, [oxyServices]);
|
|
34
30
|
|
|
35
31
|
return (
|
|
36
|
-
<View style={
|
|
32
|
+
<View style={styles.container} className="bg-background">
|
|
37
33
|
<Header
|
|
38
34
|
title={t('karma.rules.title') || 'Karma Rules'}
|
|
39
35
|
subtitle={t('karma.rules.subtitle') || 'How to earn karma points'}
|
|
@@ -48,11 +44,11 @@ const KarmaRulesScreen: React.FC<BaseScreenProps> = ({ goBack, theme }) => {
|
|
|
48
44
|
) : (
|
|
49
45
|
<ScrollView contentContainerStyle={styles.listContainer}>
|
|
50
46
|
{rules.length === 0 ? (
|
|
51
|
-
<Text style={[styles.placeholder, { color:
|
|
47
|
+
<Text style={[styles.placeholder, { color: bloomTheme.colors.text }]}>{t('karma.rules.empty') || 'No rules found.'}</Text>
|
|
52
48
|
) : (
|
|
53
49
|
rules.map((rule, idx) => (
|
|
54
50
|
<View key={rule.id || idx} style={styles.ruleRow}>
|
|
55
|
-
<Text style={[styles.ruleDesc, { color:
|
|
51
|
+
<Text style={[styles.ruleDesc, { color: bloomTheme.colors.text }]}>{rule.description}</Text>
|
|
56
52
|
</View>
|
|
57
53
|
))
|
|
58
54
|
)}
|