fix
This commit is contained in:
parent
18f7fab613
commit
461c963dc1
@ -1,9 +1,9 @@
|
|||||||
import * as MediaLibrary from 'expo-media-library';
|
import * as MediaLibrary from 'expo-media-library';
|
||||||
import { useRouter } from 'expo-router';
|
import { useRouter } from 'expo-router';
|
||||||
import * as SecureStore from 'expo-secure-store';
|
import * as SecureStore from 'expo-secure-store';
|
||||||
import { useEffect, useRef, useState } from 'react';
|
import React, { useEffect, useRef, useState } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { Text, TouchableOpacity, View } from 'react-native';
|
import { Platform, Text, TouchableOpacity, View } from 'react-native';
|
||||||
import { useSafeAreaInsets } from "react-native-safe-area-context";
|
import { useSafeAreaInsets } from "react-native-safe-area-context";
|
||||||
import MemoList from './memo-list';
|
import MemoList from './memo-list';
|
||||||
|
|
||||||
@ -110,9 +110,9 @@ export default function HomeScreen() {
|
|||||||
</View>
|
</View>
|
||||||
|
|
||||||
{/* Memo 形象区域 */}
|
{/* Memo 形象区域 */}
|
||||||
<View className="items-center">
|
{/* <View className="items-center">
|
||||||
<IP />
|
<IP />
|
||||||
</View>
|
</View> */}
|
||||||
|
|
||||||
{/* 介绍文本 */}
|
{/* 介绍文本 */}
|
||||||
<Text className="text-white text-base text-center mb-[1rem] leading-6 opacity-90 px-10 -mt-[4rem]">
|
<Text className="text-white text-base text-center mb-[1rem] leading-6 opacity-90 px-10 -mt-[4rem]">
|
||||||
|
|||||||
@ -130,14 +130,14 @@ const MemoList = () => {
|
|||||||
|
|
||||||
const renderHeader = () => (
|
const renderHeader = () => (
|
||||||
<>
|
<>
|
||||||
{process.env.NODE_ENV === 'development' && <TouchableOpacity
|
{/* {process.env.NODE_ENV === 'development' && <TouchableOpacity
|
||||||
className='mt-2 bg-red-500 items-center h-10 justify-center'
|
className='mt-2 bg-red-500 items-center h-10 justify-center'
|
||||||
onPress={() => router.push('/debug')}
|
onPress={() => router.push('/debug')}
|
||||||
>
|
>
|
||||||
<Text className="text-white">
|
<Text className="text-white">
|
||||||
进入db调试页面
|
进入db调试页面
|
||||||
</Text>
|
</Text>
|
||||||
</TouchableOpacity>}
|
</TouchableOpacity>} */}
|
||||||
|
|
||||||
{/* 顶部标题和上传按钮 */}
|
{/* 顶部标题和上传按钮 */}
|
||||||
<View style={styles.header}>
|
<View style={styles.header}>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user