minor bug fixes

This commit is contained in:
ammarahm-ed
2021-06-03 12:07:54 +05:00
parent 1dd1f2370d
commit 6f4904d247
4 changed files with 29 additions and 24 deletions

View File

@@ -27,6 +27,7 @@ import {openLinkInBrowser} from '../../utils/functions';
import {Modal} from 'react-native';
import {SafeAreaView} from 'react-native';
import {SvgToPngView} from '../ListPlaceholders';
import { MMKV } from '../../utils/mmkv';
const features = [
{
@@ -81,7 +82,7 @@ const SplashScreen = () => {
const translateY2 = useValue(0);
useEffect(() => {
Storage.read('introCompleted').then(async (r) => {
MMKV.getStringAsync('introCompleted').then(async (r) => {
setTimeout(() => {
if (!r) {
setVisible(true);