Assorted clipclop fixes (#3853)

* empty state for new chat dialog

* use terniary

* dark mode pending state

* copy message text option

* fix service url input (scrollview ftw)

* whoops, fix equality

* slightly reduce horizontal message padding
This commit is contained in:
Samuel Newman 2024-05-04 01:49:49 +01:00 committed by GitHub
parent feff55a14a
commit c223bcdaf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 67 additions and 23 deletions

View file

@ -21,6 +21,7 @@ import {TimeElapsed} from '#/view/com/util/TimeElapsed'
import {PreviewableUserAvatar} from '#/view/com/util/UserAvatar'
import {ViewHeader} from '#/view/com/util/ViewHeader'
import {CenteredView} from '#/view/com/util/Views'
import {ScrollView} from '#/view/com/util/Views'
import {atoms as a, useBreakpoints, useTheme, web} from '#/alf'
import {Button, ButtonIcon, ButtonText} from '#/components/Button'
import {DialogControlProps, useDialogControl} from '#/components/Dialog'
@ -130,7 +131,7 @@ export function MessagesScreen({navigation}: Props) {
if (!hasValidServiceUrl) {
return (
<CenteredView sideBorders style={[a.flex_1, a.p_md]}>
<ScrollView contentContainerStyle={a.p_lg}>
<View>
<TextField.LabelText>Service URL</TextField.LabelText>
<TextField.Root>
@ -143,7 +144,7 @@ export function MessagesScreen({navigation}: Props) {
/>
</TextField.Root>
</View>
</CenteredView>
</ScrollView>
)
}