diff --git a/src/ui/about.tsx b/src/ui/about.tsx index 237fb4e4d0..4578ef1322 100644 --- a/src/ui/about.tsx +++ b/src/ui/about.tsx @@ -1,4 +1,3 @@ -import { Capacitor } from '@capacitor/core' import * as Mithril from 'mithril' import h from 'mithril/hyperscript' import router from '../router' @@ -33,7 +32,7 @@ export default {
  • Lichess would not exist without the thousands of hours of time from volunteers, both from {externalLink('website devs', 'https://github.com/ornicar/lila/graphs/contributors')} and {externalLink('mobile devs', 'https://github.com/veloce/lichobile/graphs/contributors')}, who create new features and/or bugs, as well as our administrative team, who police the site and help with long-term vision.
  • -
  • {Capacitor.platform === 'ios' ? 'Patrons' : externalLink('Patrons', 'https://lichess.org/patron')} provide a steady stream of income to our site, sufficient to run our servers and handle expenses.
  • +
  • {externalLink('Patrons', 'https://lichess.org/patron')} provide a steady stream of income to our site, sufficient to run our servers and handle expenses.
  • Finally, the players who come to Lichess to have fun, relax and learn, without whom this would all be pointless!
  • @@ -44,14 +43,12 @@ export default { diff --git a/src/ui/user/userView.tsx b/src/ui/user/userView.tsx index 25b4a002de..f75e22f9e0 100644 --- a/src/ui/user/userView.tsx +++ b/src/ui/user/userView.tsx @@ -1,4 +1,3 @@ -import { Capacitor } from '@capacitor/core' import * as Mithril from 'mithril' import h from 'mithril/hyperscript' import router from '../../router' @@ -137,7 +136,7 @@ function renderWebsiteLinks(ctrl: IUserCtrl, user: ProfileUser) {

    } - { Capacitor.platform !== 'ios' && user.patron ? + { user.patron ?

    xhr.openWebsiteAuthPage('/patron'))}