From f52602ac8b7a05ca9ec4d074691f9d07e83c6fb1 Mon Sep 17 00:00:00 2001 From: noumantahir Date: Fri, 1 Jul 2022 19:59:55 +0500 Subject: [PATCH] added more todos --- .../application/container/applicationContainer.tsx | 8 +++++--- src/screens/application/screen/applicationScreen.tsx | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/screens/application/container/applicationContainer.tsx b/src/screens/application/container/applicationContainer.tsx index 88080d9e1..683c9591c 100644 --- a/src/screens/application/container/applicationContainer.tsx +++ b/src/screens/application/container/applicationContainer.tsx @@ -760,10 +760,10 @@ class ApplicationContainer extends Component { dispatch(hideActionModal()); dispatch(hideProfileModal()); dispatch(toastNotification('')); - dispatch(purgeExpiredCache()); dispatch(setRcOffer(false)); - //TODO: set pin code navigation to null, else move it to non persisted state + dispatch(purgeExpiredCache()); + if(settingsMigrated){ // this._initNotificationSettings(settings); @@ -801,6 +801,8 @@ class ApplicationContainer extends Component { dispatch(changeAllNotificationSettings(settings)); this._initNotificationSettings(settings); } + + //TODO: set migration to true } }; @@ -826,7 +828,7 @@ class ApplicationContainer extends Component { }); }; - + _connectNotificationServer = (username) => { /* eslint no-undef: "warn" */ diff --git a/src/screens/application/screen/applicationScreen.tsx b/src/screens/application/screen/applicationScreen.tsx index 98cbf2263..48280757a 100644 --- a/src/screens/application/screen/applicationScreen.tsx +++ b/src/screens/application/screen/applicationScreen.tsx @@ -45,6 +45,7 @@ class ApplicationScreen extends Component { const { rcOffer, dispatch, intl } = this.props; const { rcOffer: rcOfferPrev } = prevProps; + //TODO: display action modal instead if (!rcOfferPrev && rcOffer) { setTimeout(() => { Alert.alert(