Skip to content

Commit 6e175c4

Browse files
Fix some errors
1 parent 7f337bf commit 6e175c4

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import GithubProvider from '@/github';
1212
import FetchHandler from '@/github/FetchHandler';
1313
import InnerApp from '@/InnerApp';
1414
import { persistor, store } from '@/store';
15-
import { useColorScheme, StatusBar } from 'react-native';
1615

1716
const App = () => {
1817
/*const onBeforeLift = useCallback(() => {

src/components/modals/NTPChangeTimezoneModal.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import { rootLogging } from '@/utils/log';
2525

2626
import { useApi } from '@/api/ApiHandler';
2727

28+
import type { FlashListRef } from '@shopify/flash-list';
2829
import { FlashList } from '@shopify/flash-list';
2930

3031
const 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>

0 commit comments

Comments
 (0)