File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import GithubProvider from '@/github';
1212import FetchHandler from '@/github/FetchHandler' ;
1313import InnerApp from '@/InnerApp' ;
1414import { persistor , store } from '@/store' ;
15- import { useColorScheme , StatusBar } from 'react-native' ;
1615
1716const App = ( ) => {
1817 /*const onBeforeLift = useCallback(() => {
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import { rootLogging } from '@/utils/log';
2525
2626import { useApi } from '@/api/ApiHandler' ;
2727
28+ import type { FlashListRef } from '@shopify/flash-list' ;
2829import { FlashList } from '@shopify/flash-list' ;
2930
3031const log = rootLogging . extend ( 'NTPChangeTimezoneModal' ) ;
@@ -55,7 +56,7 @@ const NTPChangeTimezoneModal: FC<NTPChangeTimezoneModalProps> = props => {
5556 [ setTimeSettings , timeSettings ] ,
5657 ) ;
5758
58- const listRef = useRef < FlashList < PossibleEnumValues [ number ] > > ( null ) ;
59+ const listRef = useRef < FlashListRef < PossibleEnumValues [ number ] > > ( null ) ;
5960 const [ hasScrolledToSelectedTimezone , setHasScrolledToSelectedTimezone ] =
6061 useState < boolean > ( false ) ;
6162
@@ -227,10 +228,6 @@ const NTPChangeTimezoneModal: FC<NTPChangeTimezoneModalProps> = props => {
227228 } }
228229 />
229230 ) }
230- estimatedItemSize = { 70 }
231- overrideItemLayout = { layout => {
232- layout . size = 52 ;
233- } }
234231 />
235232 </ Box >
236233 </ Box >
You can’t perform that action at this time.
0 commit comments