import { ObservableGoogleSheetsAddOnScreen } from '@ulangi/ulangi-observable' ; import { GoogleSheetsAddOnScreenDelegate } from '../../delegates/google-sheets/GoogleSheetsAddOnScreenDelegate' ; import { SecondaryScreenStyle } from '../../styles/SecondaryScreenStyle' ; import { ScreenFactory } from '../ScreenFactory' ; export class GoogleSheetsAddOnScreenFactory extends ScreenFactory { public createScreenDelegate ( observableScreen ) { const dialogDelegate = this . createDialogDelegate ( SecondaryScreenStyle . LIGHT_BOX_SCREEN_STYLES ) ; const navigatorDelegate = this . createNavigatorDelegate ( ) ; return new GoogleSheetsAddOnScreenDelegate ( this . eventBus , observableScreen , dialogDelegate , navigatorDelegate ) ; } }