basic scrollview on the native side

This commit is contained in:
Hailey
2024-10-09 23:03:17 -07:00
parent ad896cb8dd
commit df86081d19
8 changed files with 113 additions and 119 deletions
+1 -4
View File
@@ -1,6 +1,5 @@
import React from 'react'
import {Pressable, View} from 'react-native'
import {ScrollView} from 'react-native-gesture-handler'
import {msg, Trans} from '@lingui/macro'
import {useLingui} from '@lingui/react'
@@ -38,10 +37,8 @@ function ReportDialogInner(props: ReportDialogProps) {
} = useMyLabelersQuery()
const isLoading = useDelayedLoading(500, isLabelerLoading)
const ref = React.useRef<ScrollView>(null)
return (
<Dialog.ScrollableInner label={_(msg`Report dialog`)} ref={ref}>
<Dialog.ScrollableInner label={_(msg`Report dialog`)}>
{isLoading ? (
<View style={[a.align_center, {height: 100}]}>
<Loader size="xl" />