Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

Commit

Permalink
Remove PanMail from cross-promotion (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
quanglam2807 authored May 11, 2021
1 parent 1d5971f commit 7d53255
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions src/components/pages/preferences/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ import webcatalogIconPng from '../../../images/products/webcatalog-mac-icon-128@
import translatiumIconPng from '../../../images/products/[email protected]';
import cloveryIconPng from '../../../images/products/[email protected]';
import singleboxIconPng from '../../../images/products/[email protected]';
import panmailIconPng from '../../../images/products/[email protected]';

const styles = (theme) => ({
container: {
Expand Down Expand Up @@ -553,35 +552,6 @@ const Preferences = (props) => {
</div>
<ChevronRightIcon color="action" />
</ListItem>
<Divider />
<ListItem
button
onClick={() => {
let url = `https://panmail.app?utm_source=${utmSource}`;
if (window.process.mas) {
url = 'macappstore://apps.apple.com/us/app/panmail/id1551178702';
}
requestOpenInBrowser(url);
}}
className={classes.listItemPromotion}
>
<div className={classes.promotionBlock}>
<div className={classes.promotionLeft}>
<img src={panmailIconPng} alt="PanMail" className={classes.appIcon} />
</div>
<div className={classes.promotionRight}>
<div className={classes.promotionRightInner}>
<Typography variant="body1" className={classes.appTitle}>
PanMail
</Typography>
<Typography variant="body2" color="textSecondary">
Cloud-based Email Client
</Typography>
</div>
</div>
</div>
<ChevronRightIcon color="action" />
</ListItem>
</List>
</Paper>
</>
Expand Down
Binary file removed src/images/products/[email protected]
Binary file not shown.

0 comments on commit 7d53255

Please sign in to comment.