@@ -10,12 +10,10 @@ import {
1010 Dimensions ,
1111 Animated ,
1212 Easing ,
13- TouchableOpacity ,
1413} from 'react-native' ;
1514import { fetchApps , AppModel } from './src/config/supabase' ;
1615import { AppCard } from './src/components/AppCard' ;
1716import { AppDetailsPopup } from './src/components/AppDetailsPopup' ;
18- import { AdminScreen } from './src/components/AdminScreen' ;
1917import Icon from 'react-native-vector-icons/MaterialCommunityIcons' ;
2018
2119const { width, height } = Dimensions . get ( 'window' ) ;
@@ -87,7 +85,6 @@ function App(): React.JSX.Element {
8785 const [ refreshing , setRefreshing ] = useState ( false ) ;
8886 const [ selectedApp , setSelectedApp ] = useState < AppModel | null > ( null ) ;
8987 const [ popupVisible , setPopupVisible ] = useState ( false ) ;
90- const [ adminVisible , setAdminVisible ] = useState ( false ) ;
9188
9289 const loadApps = async ( ) => {
9390 try {
@@ -130,13 +127,9 @@ function App(): React.JSX.Element {
130127 </ View >
131128 < Text style = { styles . title } > Zeeshan Hub</ Text >
132129 </ View >
133- < TouchableOpacity
134- style = { styles . avatar }
135- onLongPress = { ( ) => setAdminVisible ( true ) }
136- delayLongPress = { 3000 }
137- activeOpacity = { 0.8 } >
130+ < View style = { styles . avatar } >
138131 < Text style = { styles . avatarLetter } > Z</ Text >
139- </ TouchableOpacity >
132+ </ View >
140133 </ View >
141134
142135 < View style = { styles . sectionRow } >
@@ -196,12 +189,6 @@ function App(): React.JSX.Element {
196189 visible = { popupVisible }
197190 onClose = { closePopup }
198191 />
199-
200- < AdminScreen
201- visible = { adminVisible }
202- onClose = { ( ) => setAdminVisible ( false ) }
203- onRefresh = { ( ) => { onRefresh ( ) ; } }
204- />
205192 </ View >
206193 ) ;
207194}
0 commit comments