|
1 | | -import { View, Text, TextInput, ScrollView, Pressable, KeyboardAvoidingView, Platform, Linking, Image, Animated, PanResponder, Dimensions, TouchableOpacity } from "react-native"; |
| 1 | +import { View, Text, TextInput, ScrollView, Pressable, KeyboardAvoidingView, Platform, Linking, Animated, PanResponder, Dimensions } from "react-native"; |
2 | 2 | import { SafeAreaView } from "react-native-safe-area-context"; |
3 | | -import { useState, useCallback, useEffect, useRef } from "react"; |
| 3 | +import { useState, useCallback, useRef } from "react"; |
4 | 4 | import AsyncStorage from "@react-native-async-storage/async-storage"; |
5 | | -import { Trash2, Plus, Brain, Sparkles, Play } from "lucide-react-native"; |
| 5 | +import { Trash2, Plus, Brain, Sparkles } from "lucide-react-native"; |
6 | 6 | import { useFocusEffect } from "@react-navigation/native"; |
7 | 7 | import { encryptObject, decryptObject } from "../utils/security"; |
8 | 8 | import theme from "../data/color-theme"; |
@@ -40,7 +40,6 @@ const formatDate = (iso: string) => { |
40 | 40 | export default function BrainDumpScreen() { |
41 | 41 | const [entries, setEntries] = useState<DumpEntry[]>([]); |
42 | 42 | const [input, setInput] = useState(""); |
43 | | - const [pressingId, setPressingId] = useState<number | null>(null); |
44 | 43 | const [activeTab, setActiveTab] = useState<"texts" | "links">("texts"); |
45 | 44 |
|
46 | 45 | const isLinkEntry = (text: string) => /(https?:\/\/[^\s]+)/g.test(text); |
|
0 commit comments