Skip to content

Commit

Permalink
feat: final fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
janrtvld committed Nov 26, 2024
1 parent f0ffc50 commit bc0c341
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/easypid/src/app/(app)/federation.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { FunkeFederationDetailScreen } from '@easypid/features/wallet/FunkeFederationDetailScreen'
import type { TrustedEntity } from '@package/agent'
import { useLocalSearchParams } from 'expo-router'
import type { TrustedEntity } from 'packages/agent/src/invitation/handler'

export default function Screen() {
const { entityId, trustedEntities, name, logo } = useLocalSearchParams()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,10 @@ export function FunkeFederationDetailScreen({
<Image src={entity.logo_uri} height="100%" width="100%" />
</Circle>
)}
<XStack gap="$1" f={1} justifyContent="space-between">
<Heading variant="h2">{entity.organization_name}</Heading>
<XStack gap="$1" f={1} justifyContent="space-between" ai="center">
<Heading f={1} numberOfLines={2} variant="h2">
{entity.organization_name}
</Heading>
<IconContainer icon={<HeroIcons.CheckCircleFilled size={30} color="$positive-500" />} />
</XStack>
</XStack>
Expand Down
3 changes: 2 additions & 1 deletion packages/agent/src/invitation/trustedEntities.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
const BASE_URL = 'https://funke.animo.id/siop'
const BASE_URL = 'https://macbook-pro-van-tom.curl-perch.ts.net/siop'

export const TRUSTED_ENTITIES = [
`${BASE_URL}/0193687b-0c27-7b82-a686-ff857dc6bbb3`,
`${BASE_URL}/0193687f-20d8-720a-9139-ed939ba510fa`,
// To be added
`${BASE_URL}/019368ed-3787-7669-b7f4-8c012238e90d`,
`${BASE_URL}/01936907-56a3-7007-a61f-44bff8b5d175`,
`${BASE_URL}/01936903-8879-733f-8eaf-6f2fa862099c`,
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/InfoButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export function InfoButton({
</Circle>
)}
<XStack fg={1} f={1} ai="center" jc="space-between">
<YStack gap="$1" f={1} fg={1}>
<YStack gap="$1" fg={1}>
<Heading maxFontSizeMultiplier={1.3} numberOfLines={1} variant="sub1">
{title}
</Heading>
Expand Down

0 comments on commit bc0c341

Please sign in to comment.