Skip to content

Commit

Permalink
chore: fix issues blocking app store review
Browse files Browse the repository at this point in the history
  • Loading branch information
amanharwara committed Aug 16, 2023
1 parent 317167a commit 3b1d63e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { PackageProvider } from '@/Components/Preferences/Panes/General/Advanced
import AccordionItem from '@/Components/Shared/AccordionItem'
import PreferencesGroup from '../../../PreferencesComponents/PreferencesGroup'
import PreferencesSegment from '../../../PreferencesComponents/PreferencesSegment'
import { Platform } from '@standardnotes/snjs'

type Props = {
application: WebApplication
Expand All @@ -20,7 +21,7 @@ const Advanced: FunctionComponent<Props> = ({ application, extensionsLatestVersi
<AccordionItem title={'Advanced options'}>
<div className="flex flex-row items-center">
<div className="flex max-w-full flex-grow flex-col">
<OfflineSubscription application={application} />
{application.platform !== Platform.Ios && <OfflineSubscription application={application} />}
<PackagesPreferencesSection
className={'mt-3'}
application={application}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class SubscriptionController extends AbstractViewController implements In
return false
}

return this.subscriptions.getOnlineSubscription() !== undefined
return !!this.subscriptions.getOnlineSubscription()
} else {
const offline = this.features.hasFirstPartyOfflineSubscription()
return offline
Expand Down

0 comments on commit 3b1d63e

Please sign in to comment.