chore: fix issues blocking app store review
This commit is contained in:
@@ -7,6 +7,7 @@ import { PackageProvider } from '@/Components/Preferences/Panes/General/Advanced
|
|||||||
import AccordionItem from '@/Components/Shared/AccordionItem'
|
import AccordionItem from '@/Components/Shared/AccordionItem'
|
||||||
import PreferencesGroup from '../../../PreferencesComponents/PreferencesGroup'
|
import PreferencesGroup from '../../../PreferencesComponents/PreferencesGroup'
|
||||||
import PreferencesSegment from '../../../PreferencesComponents/PreferencesSegment'
|
import PreferencesSegment from '../../../PreferencesComponents/PreferencesSegment'
|
||||||
|
import { Platform } from '@standardnotes/snjs'
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
application: WebApplication
|
application: WebApplication
|
||||||
@@ -20,7 +21,7 @@ const Advanced: FunctionComponent<Props> = ({ application, extensionsLatestVersi
|
|||||||
<AccordionItem title={'Advanced options'}>
|
<AccordionItem title={'Advanced options'}>
|
||||||
<div className="flex flex-row items-center">
|
<div className="flex flex-row items-center">
|
||||||
<div className="flex max-w-full flex-grow flex-col">
|
<div className="flex max-w-full flex-grow flex-col">
|
||||||
<OfflineSubscription application={application} />
|
{application.platform !== Platform.Ios && <OfflineSubscription application={application} />}
|
||||||
<PackagesPreferencesSection
|
<PackagesPreferencesSection
|
||||||
className={'mt-3'}
|
className={'mt-3'}
|
||||||
application={application}
|
application={application}
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ export class SubscriptionController extends AbstractViewController implements In
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.subscriptions.getOnlineSubscription() !== undefined
|
return !!this.subscriptions.getOnlineSubscription()
|
||||||
} else {
|
} else {
|
||||||
const offline = this.features.hasFirstPartyOfflineSubscription()
|
const offline = this.features.hasFirstPartyOfflineSubscription()
|
||||||
return offline
|
return offline
|
||||||
|
|||||||
Reference in New Issue
Block a user