diff options
author | Ivan Chen <ivan@tagg.id> | 2021-04-23 19:18:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-23 19:18:13 -0400 |
commit | 26fe5a1b13e897d97ad470224d22526dcde86832 (patch) | |
tree | 8f4aa081d95a2fd3d559f97771738f45d61518cd /src/utils/common.ts | |
parent | 5f3bfdc0f6e1b24c2f024b308b66cbd1ed2b12d6 (diff) | |
parent | 0d3ba070abcf5fea0942bb68a55ec602123a6222 (diff) |
Merge pull request #384 from ankit-thanekar007/tma-807-onpress-indicator
[TMA 806] - On Press Tutorial
Diffstat (limited to 'src/utils/common.ts')
-rw-r--r-- | src/utils/common.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils/common.ts b/src/utils/common.ts index cec0e1b5..ce4ab7d1 100644 --- a/src/utils/common.ts +++ b/src/utils/common.ts @@ -138,6 +138,13 @@ export const extractContacts = async () => { return retrievedContacts; }; +export const hasSeenBadgeTutorial = async () => { + if ((await AsyncStorage.getItem('hasSeenBadgeTutorial')) === 'true') { + return true; + } + return false; +}; + export const getUniversityBadge = ( university: UniversityType, type: UniversityBadgeType, |