Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add text under single share cred screen #549

Merged
merged 3 commits into from
Jan 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions app/screens/PublicLinkScreen/PublicLinkScreen.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,9 @@ export default createDynamicStyleSheet(({ theme, mixins }) => ({
color: theme.color.textPrimary,
marginBottom: 16
},
paragraph: {
fontSize: 14,
color: theme.color.textPrimary,
marginTop: 8
},
}));
35 changes: 20 additions & 15 deletions app/screens/PublicLinkScreen/PublicLinkScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -426,21 +426,26 @@ export default function PublicLinkScreen ({ navigation, route }: PublicLinkScree
}
/>
{screenMode === PublicLinkScreenMode.ShareCredential && (
<Button
title="Send Credential"
buttonStyle={mixins.buttonIcon}
containerStyle={mixins.buttonIconContainer}
titleStyle={mixins.buttonIconTitle}
iconRight
onPress={() => share([rawCredentialRecord])}
icon={
<MaterialIcons
name="input"
size={theme.iconSize}
color={theme.color.iconInactive}
/>
}
/>
<View>
<Button
title="Send Credential"
buttonStyle={mixins.buttonIcon}
containerStyle={mixins.buttonIconContainer}
titleStyle={mixins.buttonIconTitle}
iconRight
onPress={() => share([rawCredentialRecord])}
icon={
<MaterialIcons
name="input"
size={theme.iconSize}
color={theme.color.iconInactive}
/>
}
/>
<Text style={styles.paragraph}>
Allows sending one or more credentials as a JSON file
</Text>
</View>
)}
{publicLink !== null && (
<View style={styles.bottomSection}>
Expand Down
Loading