aboutsummaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
authorIvan Chen <ivan@thetaggid.com>2021-02-05 16:47:17 -0500
committerGitHub <noreply@github.com>2021-02-05 16:47:17 -0500
commited866c9304a4996c4cdfb19224b7ea26c2ee7e32 (patch)
treed05e9e2a48dbc6d9986add1e36ba32ded9699b32 /src/screens
parentc3cd8f95c6534fb5eb78af299ef424c50aefd85a (diff)
parent94d38350ba0bcfd0bc3095d8628de67fbe6ee6dc (diff)
Merge pull request #221 from IvanIFChen/tma607-notification-permission-after-onboarding
[TMA-607] Moved Permission to After Login
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/onboarding/CategorySelection.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/screens/onboarding/CategorySelection.tsx b/src/screens/onboarding/CategorySelection.tsx
index a3acbbb7..94dd44b2 100644
--- a/src/screens/onboarding/CategorySelection.tsx
+++ b/src/screens/onboarding/CategorySelection.tsx
@@ -17,7 +17,7 @@ import {Background, MomentCategory} from '../../components';
import {MOMENT_CATEGORIES} from '../../constants';
import {ERROR_SOMETHING_WENT_WRONG} from '../../constants/strings';
import {OnboardingStackParams} from '../../routes';
-import {fcmService, postMomentCategories} from '../../services';
+import {postMomentCategories} from '../../services';
import {
updateIsOnboardedUser,
updateMomentCategories,
@@ -169,7 +169,6 @@ const CategorySelection: React.FC<CategorySelectionProps> = ({
const token = await getTokenOrLogout(dispatch);
await postMomentCategories(selectedCategories, token);
userLogin(dispatch, {userId: userId, username: username});
- fcmService.sendFcmTokenToServer();
} else {
dispatch(
updateMomentCategories(