@@ -11,7 +11,7 @@ import { action, makeObservable, observable } from 'mobx'
1111import { AbstractViewController } from '../Abstract/AbstractViewController'
1212import { PurchaseFlowPane } from './PurchaseFlowPane'
1313import { LoadPurchaseFlowUrl } from '@/Application/UseCase/LoadPurchaseFlowUrl'
14- import { IsNativeIOS , IsNativeAndroid } from '@standardnotes/ui-services'
14+ import { IsNativeIOS , IsAndroid } from '@standardnotes/ui-services'
1515
1616export class PurchaseFlowController extends AbstractViewController {
1717 isOpen = false
@@ -25,7 +25,7 @@ export class PurchaseFlowController extends AbstractViewController {
2525 private mobileDevice : MobileDeviceInterface | undefined ,
2626 private _loadPurchaseFlowUrl : LoadPurchaseFlowUrl ,
2727 private _isNativeIOS : IsNativeIOS ,
28- private _isNativeAndroid : IsNativeAndroid ,
28+ private _isAndroid : IsAndroid ,
2929 eventBus : InternalEventBusInterface ,
3030 ) {
3131 super ( eventBus )
@@ -45,7 +45,7 @@ export class PurchaseFlowController extends AbstractViewController {
4545 }
4646
4747 openPurchaseFlow = async ( plan = AppleIAPProductId . ProPlanYearly ) => {
48- if ( this . _isNativeAndroid . execute ( ) . getValue ( ) ) {
48+ if ( this . _isAndroid . execute ( ) . getValue ( ) ) {
4949 return
5050 }
5151
@@ -63,7 +63,7 @@ export class PurchaseFlowController extends AbstractViewController {
6363 }
6464
6565 openPurchaseWebpage = async ( ) => {
66- if ( this . _isNativeAndroid . execute ( ) . getValue ( ) ) {
66+ if ( this . _isAndroid . execute ( ) . getValue ( ) ) {
6767 return
6868 }
6969
0 commit comments