AsyncStorage→ReactNativeStorageへの変更

This commit is contained in:
harukin-DeskMini
2023-01-28 08:49:19 +09:00
parent 29963ab876
commit 1a1227dfeb
6 changed files with 61 additions and 28 deletions

View File

@@ -1,6 +1,5 @@
import React, { useRef } from "react";
import { View, Text, TouchableOpacity, Linking } from "react-native";
import AsyncStorage from "@react-native-async-storage/async-storage";
import MapView, { Marker } from "react-native-maps";
import { MaterialCommunityIcons } from "@expo/vector-icons";
export default function trainMenu({
@@ -101,7 +100,6 @@ export default function trainMenu({
alignItems: "center",
}}
onPress={() => {
AsyncStorage.setItem("status", "2022/04/14");
navigate("Apps");
}}
>