aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-02-03 11:33:56 -0800
committerShravya Ramesh <shravs1208@gmail.com>2021-02-03 11:33:56 -0800
commita3019b1be25db59c5c80305c8bc6769254a222cd (patch)
treef1e39069723f364f63d5df8c1db52a488ddf4fc4
parent5f2b6ed00823430780105061ed5b83d217cfd9d7 (diff)
removed unnecessary comment
-rw-r--r--src/routes/main/MainStackScreen.tsx7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx
index 15695288..76fc55e0 100644
--- a/src/routes/main/MainStackScreen.tsx
+++ b/src/routes/main/MainStackScreen.tsx
@@ -57,13 +57,6 @@ const MainStackScreen: React.FC<MainStackProps> = ({route}) => {
case ScreenType.Profile:
return 'Profile';
case ScreenType.Search:
- // Check if user responded to access contacts and return appropriate screen
- // When app is opened, load the value from Async Storage to react native store
- // Every time the user clicks on this tab
- // Retrieve the information from the store
- // If responded is true, show search screen
- // Else, show RequestContactsAccess
- // If user responds, update store and Async and remove popup
return 'Search';
case ScreenType.Notifications:
return 'Notifications';