import { ObservableSignUpScreen } from '@ulangi/ulangi-observable' ; import { SignUpScreenDelegate } from '../../delegates/auth/SignUpScreenDelegate' ; import { PrimaryScreenStyle } from '../../styles/PrimaryScreenStyle' ; import { ScreenFactory } from '../ScreenFactory' ; export class SignUpScreenFactory extends ScreenFactory { public createScreenDelegate ( observableScreen ) { const navigatorDelegate = this . createNavigatorDelegate ( ) ; const dialogDelegate = this . createDialogDelegate ( PrimaryScreenStyle . LIGHT_BOX_SCREEN_STYLES ) ; return new SignUpScreenDelegate ( this . eventBus , observableScreen , dialogDelegate , navigatorDelegate ) ; } }