message: feat(bip39-passphrase): add alert with explanation
diff: import { Component } from '@angular/core'
  -import { ModalController } from '@ionic/angular'
  +import { ModalController, AlertController } from '@ionic/angular'
  import { ICoinProtocol, supportedProtocols } from 'airgap-coin-lib'
  import { ErrorCategory, handleErrorLocal } from '../../services/error-handler/error-handler.service'
  @@ -29,7 +29,8 @@ export class AccountAddPage {
  private readonly secretsService: SecretsService,
  private readonly storageService: StorageService,
  private readonly modalController: ModalController,
  - private readonly navigationService: NavigationService
  + private readonly navigationService: NavigationService,
  + private readonly alertController: AlertController
  ) {
  this.coinProtocols = supportedProtocols()
  this.onSelectedProtocolChange(this.navigationService.getState().protocol || this.coinProtocols[0])
  @@ -61,7 +62,8 @@ export class AccountAddPage {
  }
  }
  - private addWalletAndReturnToAddressPage(): void {
  + private async addWalletAndReturnToAddressPage(): Promise<void> {
  + const addAccount = () => {
  this.secretsService
  .addWallet(this.selectedProtocol.identifier, this.isHDWallet, this.customDerivationPath, this.bip39Passphrase)
  .then(() => {
  @@ -69,4 +71,40 @@ export class AccountAddPage {
  })
  .catch(handleErrorLocal(ErrorCategory.SECURE_STORAGE))
  }
  +
  + if (this.bip39Passphrase.length > 0) {
  + const alert = await this.alertController.create({
  + header: 'BIP-39 Passphrase',
  + message:
  + 'You set a BIP-39 Passphrase. You will need to enter this passphrase again when you import your secret. If you lose your passphrase, you will lose access to your account!',
  + backdropDismiss: false,
  + inputs: [
  + {
  + name: 'understood',
  + type: 'checkbox',
  + label: 'I understand',
  + value: 'understood',
  + checked: false
  + }
  + ],
  + buttons: [
  + {
  + text: 'Cancel',
  + role: 'cancel'
  + },
  + {
  + text: 'Ok',
  + handler: async (result: string[]) => {
  + if (result.includes('understood')) {
  + addAccount()
  + }
  + }
  + }
  + ]
  + })
  + alert.present()
  + } else {
  + addAccount()
  + }
  + }
  }
  