Skip to content

Commit

Permalink
Remove header from TosScreen (#3892)
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliopavia authored Apr 7, 2022
1 parent 2bfd702 commit 4b2c878
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion locales/en/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,6 @@ onboarding:
contextualHelpContent: !include onboarding/onboarding_fingerprint.md
tos:
headerTitle: Configure IO
contentTitle: Privacy Policy and Terms of Service
accept: Accept
error: Loading error
alert:
Expand Down
1 change: 0 additions & 1 deletion locales/it/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,6 @@ onboarding:
contextualHelpContent: !include onboarding/onboarding_fingerprint.md
tos:
headerTitle: Configura IO
contentTitle: Informativa Privacy e Termini e Condizioni d’uso
accept: Accetta
error: Errore nel caricamento
alert:
Expand Down
8 changes: 0 additions & 8 deletions ts/screens/onboarding/TosScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,8 @@ type State = {

import brokenLinkImage from "../../../img/broken-link.png";
import { openWebUrl } from "../../utils/url";
import { H1 } from "../../components/core/typography/H1";

const styles = StyleSheet.create({
h1: {
paddingVertical: customVariables.spacingBase,
paddingHorizontal: customVariables.contentPadding
},
alert: {
backgroundColor: customVariables.toastColor,
borderRadius: 4,
Expand Down Expand Up @@ -185,9 +180,6 @@ class TosScreen extends React.PureComponent<Props, State> {
}
>
<SafeAreaView style={styles.webViewContainer}>
{!onboardingCompleted && (
<H1 style={styles.h1}>{I18n.t("onboarding.tos.contentTitle")}</H1>
)}
{!this.props.hasAcceptedCurrentTos && (
<View style={styles.alert}>
<Text>
Expand Down

0 comments on commit 4b2c878

Please sign in to comment.