Skip to content

Commit

Permalink
fix(Bonus Pagamenti Digitali): [#176993827] In SuperCashbackRanking b…
Browse files Browse the repository at this point in the history
…ottom sheet text is selectable (#2866)

Co-authored-by: fabriziofff <[email protected]>
  • Loading branch information
Undermaken and fabriziofff authored Mar 4, 2021
1 parent 37b7e7b commit faf26fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ts/components/ui/Markdown/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ type OwnProps = {
* The code will be inserted in the html body between
* <script> and </script> tags.
*/
avoidTextSelection?: boolean;
avoidTextSelection?: true;
cssStyle?: string;
webViewStyle?: StyleProp<ViewStyle>;
letUserZoom?: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const SuperCashbackBottomSheet: React.FunctionComponent<Props> = (
<View spacer={true} />
{props.selectedPeriod && (
<>
<Markdown cssStyle={CSS_STYLE}>
<Markdown cssStyle={CSS_STYLE} avoidTextSelection>
{I18n.t("bonus.bpd.details.superCashback.howItWorks.body", {
citizens: formatIntegerNumber(props.selectedPeriod.minPosition),
amount: formatNumberWithNoDigits(
Expand All @@ -104,7 +104,7 @@ const SuperCashbackBottomSheet: React.FunctionComponent<Props> = (
props.selectedPeriod.endDate,
props.selectedPeriod.gracePeriod
) ? (
<Markdown cssStyle={CSS_STYLE}>
<Markdown cssStyle={CSS_STYLE} avoidTextSelection>
{I18n.t(
"bonus.bpd.details.superCashback.howItWorks.status.active",
{
Expand Down

0 comments on commit faf26fe

Please sign in to comment.