Loosen type, add Trans tag

This commit is contained in:
Eric Bailey
2025-08-26 16:45:12 -05:00
parent d19e8c702e
commit 9859d118b7
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ export function Text({children}: {children: React.ReactNode}) {
export function Action(
props: Omit<ButtonProps, UninheritableButtonProps | 'children'> & {
children: string
children: React.ReactNode
},
) {
const t = useTheme()
+3 -1
View File
@@ -542,7 +542,9 @@ export const ComposePost = ({
const {host: name, rkey} = new AtUri(postUri)
navigation.navigate('PostThread', {name, rkey})
}}>
View
<Trans context="Action to view the post the user just created">
View
</Trans>
</Toast.Action>
)}
</Toast.Outer>,