@oxyhq/services 11.0.0 → 11.1.1

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.
Files changed (434) hide show
  1. package/lib/commonjs/index.js +7 -0
  2. package/lib/commonjs/index.js.map +1 -1
  3. package/lib/commonjs/ui/components/AccountMenu.js +9 -5
  4. package/lib/commonjs/ui/components/AccountMenu.js.map +1 -1
  5. package/lib/commonjs/ui/components/AnotherDeviceQR.js +51 -56
  6. package/lib/commonjs/ui/components/AnotherDeviceQR.js.map +1 -1
  7. package/lib/commonjs/ui/components/BottomSheetRouter.js +1 -0
  8. package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -1
  9. package/lib/commonjs/ui/components/FollowButton.js +18 -5
  10. package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
  11. package/lib/commonjs/ui/components/OxyLogo.js +1 -1
  12. package/lib/commonjs/ui/components/OxyLogo.js.map +1 -1
  13. package/lib/commonjs/ui/components/OxyProvider.js +23 -7
  14. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
  15. package/lib/commonjs/ui/components/SignInModal.js +20 -1
  16. package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
  17. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +19 -9
  18. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
  19. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +4 -2
  20. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
  21. package/lib/commonjs/ui/context/OxyContext.js +153 -19
  22. package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
  23. package/lib/commonjs/ui/context/hooks/useAuthOperations.js +6 -17
  24. package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
  25. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +5 -5
  26. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -1
  27. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +38 -38
  28. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  29. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +2 -2
  30. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
  31. package/lib/commonjs/ui/hooks/queries/queryKeys.js +3 -3
  32. package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
  33. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +1 -1
  34. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
  35. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +16 -12
  36. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
  37. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +10 -6
  38. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
  39. package/lib/commonjs/ui/hooks/queryClient.js +6 -5
  40. package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
  41. package/lib/commonjs/ui/hooks/useOxyAuthSession.js +40 -2
  42. package/lib/commonjs/ui/hooks/useOxyAuthSession.js.map +1 -1
  43. package/lib/commonjs/ui/hooks/useProfileEditing.js +21 -0
  44. package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -1
  45. package/lib/commonjs/ui/hooks/useSessionManagement.js +3 -3
  46. package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
  47. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +100 -108
  48. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
  49. package/lib/commonjs/ui/screens/AppInfoScreen.js +227 -273
  50. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
  51. package/lib/commonjs/ui/screens/AvatarCropScreen.js +10 -4
  52. package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
  53. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +20 -37
  54. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
  55. package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js +89 -201
  56. package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js.map +1 -1
  57. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +80 -208
  58. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
  59. package/lib/commonjs/ui/screens/FAQScreen.js +56 -208
  60. package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
  61. package/lib/commonjs/ui/screens/FeedbackScreen.js +303 -352
  62. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
  63. package/lib/commonjs/ui/screens/FileManagementScreen.js +20 -20
  64. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  65. package/lib/commonjs/ui/screens/HelpSupportScreen.js +77 -89
  66. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
  67. package/lib/commonjs/ui/screens/HistoryViewScreen.js +43 -58
  68. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  69. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +67 -90
  70. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  71. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +77 -177
  72. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  73. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +113 -107
  74. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
  75. package/lib/commonjs/ui/screens/ManageAccountScreen.js +55 -114
  76. package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
  77. package/lib/commonjs/ui/screens/NotificationsScreen.js +67 -85
  78. package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
  79. package/lib/commonjs/ui/screens/OxyAuthScreen.js +71 -135
  80. package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
  81. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +15 -9
  82. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
  83. package/lib/commonjs/ui/screens/PreferencesScreen.js +65 -83
  84. package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
  85. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +378 -1023
  86. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  87. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +294 -242
  88. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  89. package/lib/commonjs/ui/screens/ProfileScreen.js +194 -333
  90. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
  91. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +57 -97
  92. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
  93. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +41 -41
  94. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
  95. package/lib/commonjs/ui/screens/UserLinksScreen.js +17 -24
  96. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
  97. package/lib/commonjs/ui/screens/UserListScreen.js +83 -214
  98. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
  99. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +115 -77
  100. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  101. package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +70 -57
  102. package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -1
  103. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +136 -332
  104. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  105. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +47 -137
  106. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -1
  107. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +182 -115
  108. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  109. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +138 -214
  110. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
  111. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +54 -92
  112. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  113. package/lib/commonjs/ui/utils/activeAuthuser.js +15 -9
  114. package/lib/commonjs/ui/utils/activeAuthuser.js.map +1 -1
  115. package/lib/commonjs/ui/utils/avatarUtils.js +1 -1
  116. package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
  117. package/lib/module/index.js +2 -0
  118. package/lib/module/index.js.map +1 -1
  119. package/lib/module/ui/components/AccountMenu.js +10 -6
  120. package/lib/module/ui/components/AccountMenu.js.map +1 -1
  121. package/lib/module/ui/components/AnotherDeviceQR.js +50 -56
  122. package/lib/module/ui/components/AnotherDeviceQR.js.map +1 -1
  123. package/lib/module/ui/components/BottomSheetRouter.js +2 -1
  124. package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
  125. package/lib/module/ui/components/FollowButton.js +18 -5
  126. package/lib/module/ui/components/FollowButton.js.map +1 -1
  127. package/lib/module/ui/components/OxyLogo.js +1 -1
  128. package/lib/module/ui/components/OxyLogo.js.map +1 -1
  129. package/lib/module/ui/components/OxyProvider.js +23 -7
  130. package/lib/module/ui/components/OxyProvider.js.map +1 -1
  131. package/lib/module/ui/components/SignInModal.js +20 -1
  132. package/lib/module/ui/components/SignInModal.js.map +1 -1
  133. package/lib/module/ui/components/fileManagement/FileViewer.js +19 -9
  134. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
  135. package/lib/module/ui/components/fileManagement/UploadPreview.js +4 -2
  136. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
  137. package/lib/module/ui/context/OxyContext.js +154 -20
  138. package/lib/module/ui/context/OxyContext.js.map +1 -1
  139. package/lib/module/ui/context/hooks/useAuthOperations.js +6 -17
  140. package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
  141. package/lib/module/ui/hooks/mutations/mutationFactory.js +5 -5
  142. package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -1
  143. package/lib/module/ui/hooks/mutations/useAccountMutations.js +38 -38
  144. package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  145. package/lib/module/ui/hooks/mutations/useServicesMutations.js +2 -2
  146. package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
  147. package/lib/module/ui/hooks/queries/queryKeys.js +3 -3
  148. package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
  149. package/lib/module/ui/hooks/queries/useAccountQueries.js +1 -1
  150. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
  151. package/lib/module/ui/hooks/queries/usePaymentQueries.js +16 -12
  152. package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
  153. package/lib/module/ui/hooks/queries/useServicesQueries.js +9 -6
  154. package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
  155. package/lib/module/ui/hooks/queryClient.js +6 -5
  156. package/lib/module/ui/hooks/queryClient.js.map +1 -1
  157. package/lib/module/ui/hooks/useOxyAuthSession.js +40 -2
  158. package/lib/module/ui/hooks/useOxyAuthSession.js.map +1 -1
  159. package/lib/module/ui/hooks/useProfileEditing.js +21 -0
  160. package/lib/module/ui/hooks/useProfileEditing.js.map +1 -1
  161. package/lib/module/ui/hooks/useSessionManagement.js +4 -3
  162. package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
  163. package/lib/module/ui/screens/AccountVerificationScreen.js +101 -109
  164. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
  165. package/lib/module/ui/screens/AppInfoScreen.js +228 -275
  166. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
  167. package/lib/module/ui/screens/AvatarCropScreen.js +10 -4
  168. package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
  169. package/lib/module/ui/screens/ConnectedAppsScreen.js +19 -39
  170. package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
  171. package/lib/module/ui/screens/CreateManagedAccountScreen.js +90 -202
  172. package/lib/module/ui/screens/CreateManagedAccountScreen.js.map +1 -1
  173. package/lib/module/ui/screens/EditProfileFieldScreen.js +77 -205
  174. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
  175. package/lib/module/ui/screens/FAQScreen.js +55 -207
  176. package/lib/module/ui/screens/FAQScreen.js.map +1 -1
  177. package/lib/module/ui/screens/FeedbackScreen.js +301 -350
  178. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
  179. package/lib/module/ui/screens/FileManagementScreen.js +20 -20
  180. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  181. package/lib/module/ui/screens/HelpSupportScreen.js +78 -90
  182. package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
  183. package/lib/module/ui/screens/HistoryViewScreen.js +44 -59
  184. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  185. package/lib/module/ui/screens/LanguageSelectorScreen.js +68 -91
  186. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
  187. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +75 -177
  188. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  189. package/lib/module/ui/screens/LegalDocumentsScreen.js +116 -108
  190. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
  191. package/lib/module/ui/screens/ManageAccountScreen.js +52 -112
  192. package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
  193. package/lib/module/ui/screens/NotificationsScreen.js +68 -86
  194. package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
  195. package/lib/module/ui/screens/OxyAuthScreen.js +69 -134
  196. package/lib/module/ui/screens/OxyAuthScreen.js.map +1 -1
  197. package/lib/module/ui/screens/PaymentGatewayScreen.js +16 -10
  198. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
  199. package/lib/module/ui/screens/PreferencesScreen.js +66 -84
  200. package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
  201. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +366 -1012
  202. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  203. package/lib/module/ui/screens/PrivacySettingsScreen.js +295 -243
  204. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  205. package/lib/module/ui/screens/ProfileScreen.js +192 -331
  206. package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
  207. package/lib/module/ui/screens/SavesCollectionsScreen.js +58 -98
  208. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
  209. package/lib/module/ui/screens/SearchSettingsScreen.js +42 -42
  210. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
  211. package/lib/module/ui/screens/UserLinksScreen.js +18 -25
  212. package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
  213. package/lib/module/ui/screens/UserListScreen.js +81 -212
  214. package/lib/module/ui/screens/UserListScreen.js.map +1 -1
  215. package/lib/module/ui/screens/WelcomeNewUserScreen.js +114 -76
  216. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  217. package/lib/module/ui/screens/trust/TrustAboutScreen.js +69 -57
  218. package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -1
  219. package/lib/module/ui/screens/trust/TrustCenterScreen.js +135 -332
  220. package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  221. package/lib/module/ui/screens/trust/TrustFAQScreen.js +48 -138
  222. package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -1
  223. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +184 -117
  224. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  225. package/lib/module/ui/screens/trust/TrustRewardsScreen.js +132 -208
  226. package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
  227. package/lib/module/ui/screens/trust/TrustRulesScreen.js +58 -94
  228. package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  229. package/lib/module/ui/utils/activeAuthuser.js +15 -9
  230. package/lib/module/ui/utils/activeAuthuser.js.map +1 -1
  231. package/lib/module/ui/utils/avatarUtils.js +1 -1
  232. package/lib/module/ui/utils/avatarUtils.js.map +1 -1
  233. package/lib/typescript/commonjs/index.d.ts +2 -0
  234. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  235. package/lib/typescript/commonjs/ui/components/AccountMenu.d.ts +2 -0
  236. package/lib/typescript/commonjs/ui/components/AccountMenu.d.ts.map +1 -1
  237. package/lib/typescript/commonjs/ui/components/AnotherDeviceQR.d.ts +12 -2
  238. package/lib/typescript/commonjs/ui/components/AnotherDeviceQR.d.ts.map +1 -1
  239. package/lib/typescript/commonjs/ui/components/BottomSheetRouter.d.ts.map +1 -1
  240. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
  241. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts +3 -2
  242. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
  243. package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
  244. package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts +1 -1
  245. package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -1
  246. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +34 -0
  247. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
  248. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
  249. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +6 -0
  250. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  251. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +3 -3
  252. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -1
  253. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
  254. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -1
  255. package/lib/typescript/commonjs/ui/hooks/useOxyAuthSession.d.ts +22 -0
  256. package/lib/typescript/commonjs/ui/hooks/useOxyAuthSession.d.ts.map +1 -1
  257. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts +3 -0
  258. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +1 -1
  259. package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +2 -1
  260. package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -1
  261. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  262. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
  263. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -1
  264. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  265. package/lib/typescript/commonjs/ui/screens/CreateManagedAccountScreen.d.ts.map +1 -1
  266. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  267. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +1 -1
  268. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -1
  269. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  270. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  271. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  272. package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
  273. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  274. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  275. package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts.map +1 -1
  276. package/lib/typescript/commonjs/ui/screens/OxyAuthScreen.d.ts.map +1 -1
  277. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  278. package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts.map +1 -1
  279. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  280. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  281. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
  282. package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
  283. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  284. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
  285. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
  286. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  287. package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
  288. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
  289. package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
  290. package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
  291. package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
  292. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  293. package/lib/typescript/commonjs/ui/utils/activeAuthuser.d.ts.map +1 -1
  294. package/lib/typescript/module/index.d.ts +2 -0
  295. package/lib/typescript/module/index.d.ts.map +1 -1
  296. package/lib/typescript/module/ui/components/AccountMenu.d.ts +2 -0
  297. package/lib/typescript/module/ui/components/AccountMenu.d.ts.map +1 -1
  298. package/lib/typescript/module/ui/components/AnotherDeviceQR.d.ts +12 -2
  299. package/lib/typescript/module/ui/components/AnotherDeviceQR.d.ts.map +1 -1
  300. package/lib/typescript/module/ui/components/BottomSheetRouter.d.ts.map +1 -1
  301. package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
  302. package/lib/typescript/module/ui/components/OxyProvider.d.ts +3 -2
  303. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
  304. package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
  305. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts +1 -1
  306. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -1
  307. package/lib/typescript/module/ui/context/OxyContext.d.ts +34 -0
  308. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
  309. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
  310. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +6 -0
  311. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  312. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +3 -3
  313. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -1
  314. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
  315. package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -1
  316. package/lib/typescript/module/ui/hooks/useOxyAuthSession.d.ts +22 -0
  317. package/lib/typescript/module/ui/hooks/useOxyAuthSession.d.ts.map +1 -1
  318. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts +3 -0
  319. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +1 -1
  320. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +2 -1
  321. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -1
  322. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  323. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
  324. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -1
  325. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  326. package/lib/typescript/module/ui/screens/CreateManagedAccountScreen.d.ts.map +1 -1
  327. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  328. package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +1 -1
  329. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
  330. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  331. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  332. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  333. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
  334. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  335. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  336. package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts.map +1 -1
  337. package/lib/typescript/module/ui/screens/OxyAuthScreen.d.ts.map +1 -1
  338. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  339. package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts.map +1 -1
  340. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  341. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  342. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
  343. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
  344. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  345. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
  346. package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
  347. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  348. package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
  349. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
  350. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
  351. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
  352. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
  353. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  354. package/lib/typescript/module/ui/utils/activeAuthuser.d.ts.map +1 -1
  355. package/lib/typescript/types/expo-haptics.d.ts +42 -0
  356. package/package.json +8 -3
  357. package/src/index.ts +2 -0
  358. package/src/types/expo-haptics.d.ts +42 -0
  359. package/src/ui/components/AccountMenu.tsx +11 -5
  360. package/src/ui/components/AnotherDeviceQR.tsx +53 -45
  361. package/src/ui/components/BottomSheetRouter.tsx +2 -1
  362. package/src/ui/components/FollowButton.tsx +24 -5
  363. package/src/ui/components/OxyLogo.tsx +1 -1
  364. package/src/ui/components/OxyProvider.tsx +22 -8
  365. package/src/ui/components/SignInModal.tsx +21 -2
  366. package/src/ui/components/TouchableRipple/TouchableRipple.native.tsx +1 -1
  367. package/src/ui/components/fileManagement/FileViewer.tsx +9 -9
  368. package/src/ui/components/fileManagement/UploadPreview.tsx +2 -2
  369. package/src/ui/context/OxyContext.tsx +178 -21
  370. package/src/ui/context/hooks/useAuthOperations.ts +6 -17
  371. package/src/ui/hooks/mutations/mutationFactory.ts +5 -5
  372. package/src/ui/hooks/mutations/useAccountMutations.ts +38 -38
  373. package/src/ui/hooks/mutations/useServicesMutations.ts +2 -2
  374. package/src/ui/hooks/queries/queryKeys.ts +6 -3
  375. package/src/ui/hooks/queries/useAccountQueries.ts +1 -1
  376. package/src/ui/hooks/queries/usePaymentQueries.ts +12 -12
  377. package/src/ui/hooks/queries/useServicesQueries.ts +9 -6
  378. package/src/ui/hooks/queryClient.ts +5 -5
  379. package/src/ui/hooks/useOxyAuthSession.ts +76 -2
  380. package/src/ui/hooks/useProfileEditing.ts +24 -0
  381. package/src/ui/hooks/useSessionManagement.ts +9 -6
  382. package/src/ui/screens/AccountVerificationScreen.tsx +101 -113
  383. package/src/ui/screens/AppInfoScreen.tsx +200 -238
  384. package/src/ui/screens/AvatarCropScreen.tsx +17 -4
  385. package/src/ui/screens/ConnectedAppsScreen.tsx +16 -34
  386. package/src/ui/screens/CreateManagedAccountScreen.tsx +94 -170
  387. package/src/ui/screens/EditProfileFieldScreen.tsx +77 -190
  388. package/src/ui/screens/FAQScreen.tsx +77 -208
  389. package/src/ui/screens/FeedbackScreen.tsx +330 -239
  390. package/src/ui/screens/FileManagementScreen.tsx +20 -20
  391. package/src/ui/screens/HelpSupportScreen.tsx +67 -82
  392. package/src/ui/screens/HistoryViewScreen.tsx +32 -38
  393. package/src/ui/screens/LanguageSelectorScreen.tsx +79 -93
  394. package/src/ui/screens/LearnMoreUsernamesScreen.tsx +81 -164
  395. package/src/ui/screens/LegalDocumentsScreen.tsx +184 -123
  396. package/src/ui/screens/ManageAccountScreen.tsx +48 -114
  397. package/src/ui/screens/NotificationsScreen.tsx +107 -106
  398. package/src/ui/screens/OxyAuthScreen.tsx +76 -109
  399. package/src/ui/screens/PaymentGatewayScreen.tsx +16 -7
  400. package/src/ui/screens/PreferencesScreen.tsx +96 -116
  401. package/src/ui/screens/PremiumSubscriptionScreen.tsx +419 -872
  402. package/src/ui/screens/PrivacySettingsScreen.tsx +203 -185
  403. package/src/ui/screens/ProfileScreen.tsx +162 -246
  404. package/src/ui/screens/SavesCollectionsScreen.tsx +78 -125
  405. package/src/ui/screens/SearchSettingsScreen.tsx +52 -41
  406. package/src/ui/screens/UserLinksScreen.tsx +18 -25
  407. package/src/ui/screens/UserListScreen.tsx +95 -188
  408. package/src/ui/screens/WelcomeNewUserScreen.tsx +109 -36
  409. package/src/ui/screens/trust/TrustAboutScreen.tsx +52 -41
  410. package/src/ui/screens/trust/TrustCenterScreen.tsx +184 -222
  411. package/src/ui/screens/trust/TrustFAQScreen.tsx +64 -124
  412. package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +190 -67
  413. package/src/ui/screens/trust/TrustRewardsScreen.tsx +147 -182
  414. package/src/ui/screens/trust/TrustRulesScreen.tsx +77 -50
  415. package/src/ui/utils/activeAuthuser.ts +15 -9
  416. package/src/ui/utils/avatarUtils.ts +1 -1
  417. package/lib/commonjs/ui/components/feedback/FormInput.js +0 -72
  418. package/lib/commonjs/ui/components/feedback/FormInput.js.map +0 -1
  419. package/lib/commonjs/ui/components/feedback/feedbackStyles.js +0 -261
  420. package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +0 -1
  421. package/lib/module/ui/components/feedback/FormInput.js +0 -67
  422. package/lib/module/ui/components/feedback/FormInput.js.map +0 -1
  423. package/lib/module/ui/components/feedback/feedbackStyles.js +0 -256
  424. package/lib/module/ui/components/feedback/feedbackStyles.js.map +0 -1
  425. package/lib/typescript/commonjs/ui/components/feedback/FormInput.d.ts +0 -20
  426. package/lib/typescript/commonjs/ui/components/feedback/FormInput.d.ts.map +0 -1
  427. package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts +0 -279
  428. package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts.map +0 -1
  429. package/lib/typescript/module/ui/components/feedback/FormInput.d.ts +0 -20
  430. package/lib/typescript/module/ui/components/feedback/FormInput.d.ts.map +0 -1
  431. package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts +0 -279
  432. package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts.map +0 -1
  433. package/src/ui/components/feedback/FormInput.tsx +0 -84
  434. package/src/ui/components/feedback/feedbackStyles.ts +0 -246
@@ -1 +1 @@
1
- {"version":3,"names":["_react","require","_reactNative","_Avatar","_interopRequireDefault","_Header","_useI18n","_theme","_OxyContext","_trustTier","_jsxRuntime","e","__esModule","default","TrustLeaderboardScreen","goBack","theme","navigate","oxyServices","useOxy","t","useI18n","leaderboard","setLeaderboard","useState","isLoading","setIsLoading","error","setError","bloomTheme","useTheme","primaryColor","useEffect","getReputationLeaderboard","then","data","Array","isArray","catch","err","Error","message","finally","jsxs","View","style","styles","container","backgroundColor","colors","background","children","jsx","title","subtitle","onBack","elevation","ActivityIndicator","size","color","marginTop","Text","ScrollView","contentContainerStyle","listContainer","length","placeholder","text","map","entry","username","user","displayName","id","TouchableOpacity","row","borderColor","border","rank","primarySubtle","onPress","userId","activeOpacity","name","avatar","userColumn","numberOfLines","tier","textTertiary","getTrustTierLabel","trustTier","reputation","total","StyleSheet","create","flex","paddingBottom","paddingTop","flexDirection","alignItems","paddingVertical","paddingHorizontal","borderBottomWidth","fontSize","width","textAlign","fontWeight","marginHorizontal","marginLeft","_default","exports"],"sourceRoot":"../../../../../src","sources":["ui/screens/trust/TrustLeaderboardScreen.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,OAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,OAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,WAAA,GAAAP,OAAA;AACA,IAAAQ,UAAA,GAAAR,OAAA;AAAgD,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAG,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEhD,MAAMG,sBAAiD,GAAGA,CAAC;EAAEC,MAAM;EAAEC,KAAK;EAAEC;AAAS,CAAC,KAAK;EACvF;EACA,MAAM;IAAEC;EAAY,CAAC,GAAG,IAAAC,kBAAM,EAAC,CAAC;EAChC,MAAM;IAAEC;EAAE,CAAC,GAAG,IAAAC,gBAAO,EAAC,CAAC;EACvB,MAAM,CAACC,WAAW,EAAEC,cAAc,CAAC,GAAG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AE,MAAM;IAAEE,UAAU,EAAE;EAAG,CAAC;EAChE1C,WAAW,EAAE;IAAEqC,QAAQ,EAAE,EAAE;IAAEE,SAAS,EAAE,QAAQ;IAAE7C,SAAS,EAAE;EAAG,CAAC;EACjEjC,KAAK,EAAE;IAAE4E,QAAQ,EAAE,EAAE;IAAEE,SAAS,EAAE,QAAQ;IAAE7C,SAAS,EAAE;EAAG;AAC9D,CAAC,CAAC;AAAC,IAAAiD,QAAA,GAAAC,OAAA,CAAAjG,OAAA,GAEYC,sBAAsB","ignoreList":[]}
1
+ {"version":3,"names":["_react","require","_reactNative","_core","_theme","_typography","_chip","_button","_vectorIcons","_Avatar","_interopRequireDefault","_Header","_useI18n","_OxyContext","_trustTier","_jsxRuntime","e","__esModule","default","AVATAR_SIZE","EMPTY_ICON_SIZE","ERROR_ICON_SIZE","PODIUM_RANK","TrustLeaderboardScreen","goBack","navigate","oxyServices","user","currentUser","useOxy","t","locale","useI18n","bloomTheme","useTheme","leaderboard","setLeaderboard","useState","isLoading","setIsLoading","error","setError","currentUserId","id","loadLeaderboard","useCallback","getReputationLeaderboard","then","data","Array","isArray","catch","err","logger","Error","String","component","message","finally","useEffect","title","subtitle","handleEntryPress","entry","userId","username","renderEntry","item","displayName","getAccountDisplayName","isViewer","isPodium","rank","highlightClass","jsxs","TouchableOpacity","style","styles","row","className","onPress","activeOpacity","accessibilityRole","accessibilityLabel","children","jsx","Text","numberOfLines","uri","avatar","getFileDownloadUrl","undefined","name","size","View","userColumn","tierRow","Chip","variant","color","getTrustTierLabel","trustTier","total","keyExtractor","index","ItemSeparator","useMemo","separator","onBack","elevation","center","ActivityIndicator","colors","primary","Ionicons","Button","FlatList","renderItem","contentContainerStyle","listContent","ItemSeparatorComponent","ListEmptyComponent","emptyContainer","textSecondary","H6","StyleSheet","create","flex","justifyContent","alignItems","flexGrow","paddingBottom","flexDirection","width","marginLeft","paddingTop","_default","exports"],"sourceRoot":"../../../../../src","sources":["ui/screens/trust/TrustLeaderboard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AO,EAAE;IACLoC,aAAa,EAAE,KAAK;IACpBH,UAAU,EAAE;EAChB,CAAC;EACD;EACA;EACAtB,SAAS,EAAE;IACP2B,UAAU,EAAE;EAChB,CAAC;EACDZ,cAAc,EAAE;IACZK,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBM,UAAU,EAAE;EAChB;AACJ,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAvH,OAAA,GAEYK,sBAAsB","ignoreList":[]}
@@ -8,18 +8,63 @@ var _react = require("react");
8
8
  var _reactNative = require("react-native");
9
9
  var _Header = _interopRequireDefault(require("../../components/Header.js"));
10
10
  var _vectorIcons = require("@expo/vector-icons");
11
- var _useI18n = require("../../hooks/useI18n.js");
12
11
  var _theme = require("@oxyhq/bloom/theme");
13
- var _core = require("@oxyhq/core");
14
- var _useColorScheme = require("../../hooks/useColorScheme.js");
15
- var _theme2 = require("../../constants/theme.js");
12
+ var _typography = require("@oxyhq/bloom/typography");
13
+ var _useI18n = require("../../hooks/useI18n.js");
16
14
  var _OxyContext = require("../../context/OxyContext.js");
17
15
  var _colorUtils = require("../../utils/colorUtils.js");
18
16
  var _jsxRuntime = require("react/jsx-runtime");
19
17
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
18
+ /**
19
+ * Per-achievement identity tints. Like the trust-tier palette in `trustTier.ts`,
20
+ * these are data, not theme surfaces — they brand each badge regardless of theme.
21
+ */
22
+ const ACHIEVEMENT_TINT = {
23
+ gray: '#8E8E93',
24
+ green: '#34C759',
25
+ blue: '#007AFF',
26
+ orange: '#FF9500',
27
+ purple: '#AF52DE',
28
+ pink: '#FF2D55',
29
+ gold: '#FFD700',
30
+ red: '#FF3B30',
31
+ indigo: '#5E5CE6'
32
+ };
33
+
34
+ /** Rarity-tier identity tints for the corner rarity accent. */
35
+ const RARITY_TINT = {
36
+ legendary: ACHIEVEMENT_TINT.gold,
37
+ epic: ACHIEVEMENT_TINT.purple,
38
+ rare: ACHIEVEMENT_TINT.blue,
39
+ common: ''
40
+ };
41
+
42
+ /** Contrast-locked foreground for icons/value text painted over a colored badge fill. */
43
+ const BADGE_ON_COLOR = '#FFFFFF';
44
+
45
+ /** Reputation thresholds that unlock each milestone, and the value shown on its badge. */
46
+ const ACHIEVEMENT_VALUE = {
47
+ 'first-step': 1,
48
+ novice: 10,
49
+ contributor: 50,
50
+ 'rising-star': 100,
51
+ 'early-adopter': 200,
52
+ 'community-hero': 500,
53
+ legend: 1000,
54
+ phoenix: 2500,
55
+ unstoppable: 5000,
56
+ helper: 10,
57
+ 'streak-master': 7
58
+ };
59
+ const BADGE_BORDER_WIDTH = 5;
60
+ const BADGE_GLOW_OPACITY = 0.3;
61
+ const BADGE_DARKEN = 0.45;
62
+ const BADGE_LIGHTEN = 0.25;
63
+ const RARITY_DARKEN = 0.4;
64
+ const ACCENT_LIGHTEN = 0.1;
65
+ const LOCKED_OPACITY = 0.5;
20
66
  const TrustRewardsScreen = ({
21
- goBack,
22
- theme
67
+ goBack
23
68
  }) => {
24
69
  const {
25
70
  t
@@ -30,14 +75,9 @@ const TrustRewardsScreen = ({
30
75
  isAuthenticated
31
76
  } = (0, _OxyContext.useOxy)();
32
77
  const [reputationTotal, setReputationTotal] = (0, _react.useState)(0);
33
- const [isLoading, setIsLoading] = (0, _react.useState)(true);
78
+ const [, setIsLoading] = (0, _react.useState)(true);
34
79
  const bloomTheme = (0, _theme.useTheme)();
35
- const colorScheme = (0, _useColorScheme.useColorScheme)();
36
- const normalizedColorScheme = (0, _core.normalizeColorScheme)(colorScheme);
37
- const colors = _theme2.Colors[normalizedColorScheme];
38
- const themeStyles = (0, _react.useMemo)(() => ({
39
- primaryColor: '#d169e5'
40
- }), []);
80
+ const colors = bloomTheme.colors;
41
81
  (0, _react.useEffect)(() => {
42
82
  if (!user || !isAuthenticated) {
43
83
  setIsLoading(false);
@@ -56,7 +96,7 @@ const TrustRewardsScreen = ({
56
96
  description: t('trust.achievements.firstStepDesc') || 'Earned your first reputation point',
57
97
  category: 'milestone',
58
98
  icon: 'footsteps',
59
- iconColor: '#8E8E93',
99
+ iconColor: ACHIEVEMENT_TINT.gray,
60
100
  unlocked: reputationTotal >= 1,
61
101
  rarity: 'common'
62
102
  }, {
@@ -65,7 +105,7 @@ const TrustRewardsScreen = ({
65
105
  description: t('trust.achievements.noviceDesc') || 'Reached 10 reputation points',
66
106
  category: 'milestone',
67
107
  icon: 'leaf',
68
- iconColor: '#34C759',
108
+ iconColor: ACHIEVEMENT_TINT.green,
69
109
  unlocked: reputationTotal >= 10,
70
110
  rarity: 'common'
71
111
  }, {
@@ -73,8 +113,8 @@ const TrustRewardsScreen = ({
73
113
  name: t('trust.achievements.contributor') || 'Contributor',
74
114
  description: t('trust.achievements.contributorDesc') || 'Reached 50 reputation points',
75
115
  category: 'contribution',
76
- icon: 'account-group',
77
- iconColor: '#007AFF',
116
+ icon: 'people',
117
+ iconColor: ACHIEVEMENT_TINT.blue,
78
118
  unlocked: reputationTotal >= 50,
79
119
  rarity: 'common'
80
120
  }, {
@@ -83,7 +123,7 @@ const TrustRewardsScreen = ({
83
123
  description: t('trust.achievements.risingStarDesc') || 'Reached 100 reputation points',
84
124
  category: 'milestone',
85
125
  icon: 'star',
86
- iconColor: '#FF9500',
126
+ iconColor: ACHIEVEMENT_TINT.orange,
87
127
  unlocked: reputationTotal >= 100,
88
128
  rarity: 'rare'
89
129
  }, {
@@ -92,7 +132,7 @@ const TrustRewardsScreen = ({
92
132
  description: t('trust.achievements.earlyAdopterDesc') || 'Been part of the community from the start',
93
133
  category: 'special',
94
134
  icon: 'rocket',
95
- iconColor: '#AF52DE',
135
+ iconColor: ACHIEVEMENT_TINT.purple,
96
136
  unlocked: reputationTotal >= 200,
97
137
  rarity: 'rare'
98
138
  }, {
@@ -101,7 +141,7 @@ const TrustRewardsScreen = ({
101
141
  description: t('trust.achievements.communityHeroDesc') || 'Reached 500 reputation points',
102
142
  category: 'contribution',
103
143
  icon: 'shield',
104
- iconColor: '#FF2D55',
144
+ iconColor: ACHIEVEMENT_TINT.pink,
105
145
  unlocked: reputationTotal >= 500,
106
146
  rarity: 'epic'
107
147
  }, {
@@ -110,7 +150,7 @@ const TrustRewardsScreen = ({
110
150
  description: t('trust.achievements.legendDesc') || 'Reached 1000 reputation points',
111
151
  category: 'milestone',
112
152
  icon: 'trophy',
113
- iconColor: '#FFD700',
153
+ iconColor: ACHIEVEMENT_TINT.gold,
114
154
  unlocked: reputationTotal >= 1000,
115
155
  rarity: 'legendary'
116
156
  }, {
@@ -119,7 +159,7 @@ const TrustRewardsScreen = ({
119
159
  description: t('trust.achievements.phoenixDesc') || 'Reached 2500 reputation points',
120
160
  category: 'milestone',
121
161
  icon: 'flame',
122
- iconColor: '#FF3B30',
162
+ iconColor: ACHIEVEMENT_TINT.red,
123
163
  unlocked: reputationTotal >= 2500,
124
164
  rarity: 'legendary'
125
165
  }, {
@@ -128,7 +168,7 @@ const TrustRewardsScreen = ({
128
168
  description: t('trust.achievements.unstoppableDesc') || 'Reached 5000 reputation points',
129
169
  category: 'milestone',
130
170
  icon: 'infinite',
131
- iconColor: '#5E5CE6',
171
+ iconColor: ACHIEVEMENT_TINT.indigo,
132
172
  unlocked: reputationTotal >= 5000,
133
173
  rarity: 'legendary'
134
174
  }, {
@@ -137,7 +177,7 @@ const TrustRewardsScreen = ({
137
177
  description: t('trust.achievements.bugHunterDesc') || 'Reported helpful bugs',
138
178
  category: 'contribution',
139
179
  icon: 'bug',
140
- iconColor: '#FF9500',
180
+ iconColor: ACHIEVEMENT_TINT.orange,
141
181
  unlocked: false,
142
182
  rarity: 'rare'
143
183
  }, {
@@ -146,7 +186,7 @@ const TrustRewardsScreen = ({
146
186
  description: t('trust.achievements.helperDesc') || 'Helped 10 users',
147
187
  category: 'contribution',
148
188
  icon: 'hand-left',
149
- iconColor: '#34C759',
189
+ iconColor: ACHIEVEMENT_TINT.green,
150
190
  unlocked: false,
151
191
  rarity: 'common'
152
192
  }, {
@@ -155,69 +195,40 @@ const TrustRewardsScreen = ({
155
195
  description: t('trust.achievements.streakMasterDesc') || '7 day activity streak',
156
196
  category: 'streak',
157
197
  icon: 'flash',
158
- iconColor: '#FFD700',
198
+ iconColor: ACHIEVEMENT_TINT.gold,
159
199
  unlocked: false,
160
200
  rarity: 'epic'
161
- }], [t, reputationTotal, colors]);
201
+ }], [t, reputationTotal]);
162
202
  const unlockedAchievements = achievements.filter(a => a.unlocked);
163
203
  const lockedAchievements = achievements.filter(a => !a.unlocked);
164
- const getRarityColor = rarity => {
165
- switch (rarity) {
166
- case 'legendary':
167
- return '#FFD700';
168
- case 'epic':
169
- return '#AF52DE';
170
- case 'rare':
171
- return '#007AFF';
172
- default:
173
- return bloomTheme.colors.textTertiary;
174
- }
175
- };
176
- const getAchievementValue = achievement => {
177
- // Extract numeric value from achievement based on ID and unlocked state
178
- const valueMap = {
179
- 'first-step': 1,
180
- 'novice': 10,
181
- 'contributor': 50,
182
- 'rising-star': 100,
183
- 'early-adopter': 200,
184
- 'community-hero': 500,
185
- 'legend': 1000,
186
- 'phoenix': 2500,
187
- 'unstoppable': 5000,
188
- 'helper': 10,
189
- 'streak-master': 7
190
- };
191
- return valueMap[achievement.id] || null;
192
- };
204
+ const getRarityColor = rarity => RARITY_TINT[rarity] || colors.textTertiary;
205
+ const getAchievementValue = achievement => ACHIEVEMENT_VALUE[achievement.id] ?? null;
193
206
  const renderAchievement = achievement => {
194
207
  const rarityColor = getRarityColor(achievement.rarity);
195
208
  const isLocked = !achievement.unlocked;
196
209
  const achievementValue = getAchievementValue(achievement);
197
210
 
198
- // Two-tone colors: darker for borders/shadow, lighter for highlights
199
- // Use achievement iconColor for unlocked badges, gray for locked
200
- const baseColor = isLocked ? bloomTheme.colors.textTertiary : achievement.iconColor || bloomTheme.colors.textTertiary;
201
- const darkTone = (0, _colorUtils.darkenColor)(baseColor, 0.45); // Darker border/shadow (more contrast)
202
- const lightTone = (0, _colorUtils.lightenColor)(baseColor, 0.25); // Lighter highlight
203
- const mediumTone = baseColor; // Base color
204
-
211
+ // Two-tone colors: darker for borders/shadow, lighter for highlights.
212
+ // Use the achievement identity tint for unlocked badges, neutral for locked.
213
+ const baseColor = isLocked ? colors.textTertiary : achievement.iconColor || colors.textTertiary;
214
+ const darkTone = (0, _colorUtils.darkenColor)(baseColor, BADGE_DARKEN);
215
+ const lightTone = (0, _colorUtils.lightenColor)(baseColor, BADGE_LIGHTEN);
216
+ const mediumTone = baseColor;
205
217
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
206
- style: [styles.achievementCard, {
207
- backgroundColor: colors.card
208
- }],
218
+ className: "bg-fill rounded-radius-20 items-center",
219
+ style: styles.achievementCard,
209
220
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
210
221
  style: styles.badgeContainer,
211
222
  children: [!isLocked && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
212
223
  style: [styles.badgeGlow, styles.badgeOrganic, {
213
224
  backgroundColor: darkTone,
214
- opacity: 0.3
225
+ opacity: BADGE_GLOW_OPACITY
215
226
  }]
216
227
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
217
228
  style: [styles.badgeMain, styles.badgeOrganic, {
218
- backgroundColor: isLocked ? bloomTheme.colors.border : mediumTone,
229
+ backgroundColor: isLocked ? colors.border : mediumTone,
219
230
  borderColor: darkTone,
220
- borderWidth: 5,
231
+ borderWidth: BADGE_BORDER_WIDTH,
221
232
  shadowColor: darkTone
222
233
  }],
223
234
  children: [!isLocked && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
@@ -227,7 +238,7 @@ const TrustRewardsScreen = ({
227
238
  }]
228
239
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
229
240
  style: [styles.badgeHighlightAccent, {
230
- backgroundColor: (0, _colorUtils.lightenColor)(lightTone, 0.1)
241
+ backgroundColor: (0, _colorUtils.lightenColor)(lightTone, ACCENT_LIGHTEN)
231
242
  }]
232
243
  })]
233
244
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
@@ -235,15 +246,15 @@ const TrustRewardsScreen = ({
235
246
  children: isLocked ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
236
247
  name: "lock-closed",
237
248
  size: 40,
238
- color: bloomTheme.colors.textTertiary
249
+ color: colors.textTertiary
239
250
  }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
240
251
  name: achievement.icon,
241
252
  size: 40,
242
- color: bloomTheme.colors.negativeForeground
253
+ color: BADGE_ON_COLOR
243
254
  })
244
255
  }), achievementValue !== null && !isLocked && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
245
256
  style: styles.badgeValueContainer,
246
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
257
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
247
258
  style: [styles.badgeValueText, {
248
259
  color: lightTone,
249
260
  textShadowColor: darkTone
@@ -254,129 +265,114 @@ const TrustRewardsScreen = ({
254
265
  }), achievement.unlocked && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
255
266
  style: [styles.rarityBadge, {
256
267
  backgroundColor: rarityColor,
257
- borderColor: (0, _colorUtils.darkenColor)(rarityColor, 0.4)
268
+ borderColor: (0, _colorUtils.darkenColor)(rarityColor, RARITY_DARKEN)
258
269
  }],
259
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
270
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
260
271
  style: [styles.rarityText, {
261
- color: bloomTheme.colors.negativeForeground
272
+ color: BADGE_ON_COLOR
262
273
  }],
263
274
  children: achievement.rarity[0].toUpperCase()
264
275
  })
265
276
  })]
266
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
267
- style: [styles.achievementName, {
268
- color: bloomTheme.colors.text,
269
- opacity: isLocked ? 0.5 : 1
270
- }],
277
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.H5, {
278
+ className: "text-text text-center",
279
+ style: isLocked ? styles.lockedDimmed : undefined,
280
+ numberOfLines: 2,
271
281
  children: achievement.name
272
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
273
- style: [styles.achievementDescription, {
274
- color: bloomTheme.colors.textTertiary,
275
- opacity: isLocked ? 0.5 : 1
276
- }],
282
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
283
+ className: "text-text-tertiary text-center text-xs mt-space-2",
284
+ style: isLocked ? styles.lockedDimmed : undefined,
277
285
  children: achievement.description
278
286
  })]
279
287
  }, achievement.id);
280
288
  };
281
289
  if (!isAuthenticated) {
282
290
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
283
- style: [styles.container, {
284
- backgroundColor: bloomTheme.colors.background
285
- }],
291
+ className: "flex-1 bg-bg",
286
292
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Header.default, {
287
293
  title: t('trust.rewards.title') || 'Trust Rewards',
288
294
  subtitle: t('trust.rewards.subtitle') || 'Unlock special features and recognition',
289
295
  onBack: goBack,
290
296
  elevation: "subtle"
291
297
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
292
- style: styles.centerContent,
293
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
294
- style: [styles.message, {
295
- color: bloomTheme.colors.text
296
- }],
298
+ className: "flex-1 items-center justify-center px-screen-margin",
299
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
300
+ className: "text-text text-base text-center",
297
301
  children: t('common.status.notSignedIn') || 'Not signed in'
298
302
  })
299
303
  })]
300
304
  });
301
305
  }
306
+ const progressRatio = achievements.length > 0 ? unlockedAchievements.length / achievements.length : 0;
302
307
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
303
- style: [styles.container, {
304
- backgroundColor: bloomTheme.colors.background
305
- }],
308
+ className: "flex-1 bg-bg",
306
309
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Header.default, {
307
310
  title: t('trust.rewards.title') || 'Trust Rewards',
308
311
  subtitle: t('trust.rewards.subtitle') || 'Unlock special features and recognition',
309
312
  onBack: goBack,
310
313
  elevation: "subtle"
311
314
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.ScrollView, {
312
- contentContainerStyle: styles.contentContainer,
315
+ className: "flex-1",
316
+ contentContainerClassName: "px-screen-margin pt-space-20 pb-space-40",
313
317
  showsVerticalScrollIndicator: false,
314
318
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
315
- style: [styles.statsCard, {
316
- backgroundColor: colors.card
317
- }],
319
+ className: "bg-fill rounded-radius-20 p-space-20 mb-space-24",
318
320
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
319
- style: styles.statsHeader,
321
+ className: "flex-row justify-between items-center mb-space-16",
320
322
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
321
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
322
- style: [styles.currentReputation, {
323
- color: themeStyles.primaryColor
324
- }],
323
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.H1, {
324
+ className: "text-text",
325
+ style: {
326
+ color: colors.primary
327
+ },
325
328
  children: reputationTotal
326
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
327
- style: [styles.reputationLabel, {
328
- color: bloomTheme.colors.textTertiary
329
- }],
329
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
330
+ className: "text-text-tertiary text-sm",
330
331
  children: t('trust.center.balance') || 'Reputation Points'
331
332
  })]
332
333
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
333
- style: styles.achievementStats,
334
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
335
- style: [styles.achievementCount, {
336
- color: themeStyles.primaryColor
337
- }],
334
+ className: "items-end",
335
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.H1, {
336
+ className: "text-text",
337
+ style: {
338
+ color: colors.primary
339
+ },
338
340
  children: unlockedAchievements.length
339
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
340
- style: [styles.achievementCountLabel, {
341
- color: bloomTheme.colors.textTertiary
342
- }],
341
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
342
+ className: "text-text-tertiary text-sm",
343
343
  children: t('trust.achievements.unlocked') || 'Achievements'
344
344
  })]
345
345
  })]
346
346
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
347
- style: styles.progressBarContainer,
347
+ className: "mt-space-8",
348
348
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
349
+ className: "rounded-radius-full overflow-hidden mb-space-8",
349
350
  style: [styles.progressBar, {
350
- backgroundColor: bloomTheme.colors.border
351
+ backgroundColor: colors.border
351
352
  }],
352
353
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
354
+ className: "rounded-radius-full",
353
355
  style: [styles.progressBarFill, {
354
- width: `${unlockedAchievements.length / achievements.length * 100}%`,
355
- backgroundColor: themeStyles.primaryColor
356
+ width: `${progressRatio * 100}%`,
357
+ backgroundColor: colors.primary
356
358
  }]
357
359
  })
358
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
359
- style: [styles.progressText, {
360
- color: bloomTheme.colors.textTertiary
361
- }],
360
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_typography.Text, {
361
+ className: "text-text-tertiary text-xs text-right",
362
362
  children: [unlockedAchievements.length, " / ", achievements.length]
363
363
  })]
364
364
  })]
365
365
  }), unlockedAchievements.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
366
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
367
- style: [styles.sectionTitle, {
368
- color: bloomTheme.colors.text
369
- }],
366
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.H4, {
367
+ className: "text-text mt-space-8",
370
368
  children: t('trust.achievements.unlocked') || 'Unlocked Achievements'
371
369
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
372
370
  style: styles.achievementsGrid,
373
371
  children: unlockedAchievements.map(achievement => renderAchievement(achievement))
374
372
  })]
375
373
  }), lockedAchievements.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
376
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
377
- style: [styles.sectionTitle, {
378
- color: bloomTheme.colors.text
379
- }],
374
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.H4, {
375
+ className: "text-text mt-space-8",
380
376
  children: t('trust.achievements.locked') || 'Locked Achievements'
381
377
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
382
378
  style: styles.achievementsGrid,
@@ -386,75 +382,17 @@ const TrustRewardsScreen = ({
386
382
  })]
387
383
  });
388
384
  };
385
+
386
+ // Measured/positioned layout only — no color, no theme surfaces.
389
387
  const styles = _reactNative.StyleSheet.create({
390
- container: {
391
- flex: 1
392
- },
393
- contentContainer: {
394
- paddingHorizontal: 24,
395
- paddingTop: 20,
396
- paddingBottom: 40
397
- },
398
- centerContent: {
399
- flex: 1,
400
- justifyContent: 'center',
401
- alignItems: 'center'
402
- },
403
- message: {
404
- fontSize: 16,
405
- textAlign: 'center'
406
- },
407
- statsCard: {
408
- borderRadius: 18,
409
- padding: 20,
410
- marginBottom: 24
411
- },
412
- statsHeader: {
413
- flexDirection: 'row',
414
- justifyContent: 'space-between',
415
- alignItems: 'center',
416
- marginBottom: 16
417
- },
418
- currentReputation: {
419
- fontSize: 36,
420
- fontWeight: _reactNative.Platform.OS === 'web' ? 'bold' : undefined,
421
- marginBottom: 4
422
- },
423
- achievementStats: {
424
- alignItems: 'flex-end'
425
- },
426
- achievementCount: {
427
- fontSize: 36,
428
- fontWeight: _reactNative.Platform.OS === 'web' ? 'bold' : undefined,
429
- marginBottom: 4
430
- },
431
- achievementCountLabel: {
432
- fontSize: 14
433
- },
434
- reputationLabel: {
435
- fontSize: 14
436
- },
437
- progressBarContainer: {
438
- marginTop: 8
388
+ lockedDimmed: {
389
+ opacity: LOCKED_OPACITY
439
390
  },
440
391
  progressBar: {
441
- height: 8,
442
- borderRadius: 4,
443
- overflow: 'hidden',
444
- marginBottom: 8
392
+ height: 8
445
393
  },
446
394
  progressBarFill: {
447
- height: '100%',
448
- borderRadius: 4
449
- },
450
- progressText: {
451
- fontSize: 12,
452
- textAlign: 'right'
453
- },
454
- sectionTitle: {
455
- fontSize: 20,
456
- fontWeight: _reactNative.Platform.OS === 'web' ? '600' : undefined,
457
- marginTop: 8
395
+ height: '100%'
458
396
  },
459
397
  achievementsGrid: {
460
398
  flexDirection: 'row',
@@ -466,10 +404,8 @@ const styles = _reactNative.StyleSheet.create({
466
404
  achievementCard: {
467
405
  width: '47%',
468
406
  minWidth: 140,
469
- borderRadius: 20,
470
407
  padding: 20,
471
- paddingTop: 24,
472
- alignItems: 'center'
408
+ paddingTop: 24
473
409
  },
474
410
  badgeContainer: {
475
411
  alignItems: 'center',
@@ -584,18 +520,6 @@ const styles = _reactNative.StyleSheet.create({
584
520
  rarityText: {
585
521
  fontSize: 14,
586
522
  fontWeight: 'bold'
587
- },
588
- achievementName: {
589
- fontSize: 15,
590
- fontWeight: '700',
591
- textAlign: 'center',
592
- marginBottom: 6,
593
- marginTop: 4
594
- },
595
- achievementDescription: {
596
- fontSize: 11,
597
- textAlign: 'center',
598
- lineHeight: 15
599
523
  }
600
524
  });
601
525
  var _default = exports.default = TrustRewardsScreen;