<commit_before><ion-header class="wallet-details-header">
  <ion-navbar [navbar-bg]="wallet && wallet.color">
    <ion-buttons *ngIf="wallet" left>
      <button class="modal-close-button" (click)="close()" ion-button>
        <ion-icon ios="md-close" md="md-close"></ion-icon>
      </button>
    </ion-buttons>
    <ion-title>{{wallet && wallet.name || ('Amount' | translate)}}</ion-title>
    <ion-buttons end *ngIf="showSendMax">
      <button (click)="showSendMaxMenu()" ion-button icon-only>
        <ion-icon name="more"></ion-icon>
      </button>
    </ion-buttons>
  </ion-navbar>
  <ion-toolbar *ngIf="wallet" [navbar-bg]="wallet.color">
    <div class="wallet-details-header__balance">{{wallet.status.totalBalanceStr}}</div>
  </ion-toolbar>
</ion-header>

<ion-content no-bounce>

  <div class="amount-wrapper">

    <div class="amount-header-margin">
      <div class="amount-header">
        <div style="flex: 1">
          <div class="switcher" (click)="changeUnit()">
            <img class="switcher__icon" src="assets/img/icon-swap.svg">
            <div class="switcher__label">{{unit}}</div>
          </div>
        </div>
        <div class="amount-header__label">Enter Amount</div>
        <img class="next-button" [ngClass]="{'show': expression}" src="assets/img/icon-next.svg" (click)="finish()">
      </div>
    </div>

    <div class="amount-content">
      <div class="expression-container">
        <span class="expression">
          <span *ngIf="unit === 'USD'">$</span>{{expression || '0.00'}}
        </span>
      </div>
      <div class="amount" [hidden]="!globalResult">{{globalResult}} {{unit}}</div>
      <div class="result" *ngIf="alternativeAmount">&asymp; {{alternativeAmount || '0.00'}} {{alternativeUnit}}</div>
      <div class="result" *ngIf="!alternativeAmount">&nbsp;</div>
    </div>

    <pin-pad (keystroke)="pushDigit($event)" type="amount"></pin-pad><commit_msg>ensure btc alternative amount is always shown<commit_after><ion-header class="wallet-details-header">
  <ion-navbar [navbar-bg]="wallet && wallet.color">
    <ion-buttons *ngIf="wallet" left>
      <button class="modal-close-button" (click)="close()" ion-button>
        <ion-icon ios="md-close" md="md-close"></ion-icon>
      </button>
    </ion-buttons>
    <ion-title>{{wallet && wallet.name || ('Amount' | translate)}}</ion-title>
    <ion-buttons end *ngIf="showSendMax">
      <button (click)="showSendMaxMenu()" ion-button icon-only>
        <ion-icon name="more"></ion-icon>
      </button>
    </ion-buttons>
  </ion-navbar>
  <ion-toolbar *ngIf="wallet" [navbar-bg]="wallet.color">
    <div class="wallet-details-header__balance">{{wallet.status.totalBalanceStr}}</div>
  </ion-toolbar>
</ion-header>

<ion-content no-bounce>

  <div class="amount-wrapper">

    <div class="amount-header-margin">
      <div class="amount-header">
        <div style="flex: 1">
          <div class="switcher" (click)="changeUnit()">
            <img class="switcher__icon" src="assets/img/icon-swap.svg">
            <div class="switcher__label">{{unit}}</div>
          </div>
        </div>
        <div class="amount-header__label">Enter Amount</div>
        <img class="next-button" [ngClass]="{'show': expression}" src="assets/img/icon-next.svg" (click)="finish()">
      </div>
    </div>

    <div class="amount-content">
      <div class="expression-container">
        <span class="expression">
          <span *ngIf="unit === 'USD'">$</span>{{expression || '0.00'}}
        </span>
      </div>
      <div class="amount" [hidden]="!globalResult">{{globalResult}} {{unit}}</div>
      <div class="result">&asymp;
        <span *ngIf="fiatCode === alternativeUnit">{{alternativeAmount || '0.00'}}</span>
        <span *ngIf="fiatCode !== alternativeUnit">{{alternativeAmount || '0.000000'}}</span>
        {{alternativeUnit}}
      </div>
    </div>

    <pin-pad (keystroke)="pushDigit($event)" type="amount"></pin-pad>
{'fraction_non_alphanumeric': 0.21314387211367672, 'fraction_numerical': 0.0053285968028419185, 'mean_word_length': 3.3751387347391786, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1344849', 'n_tokens_mistral': 1324, 'n_tokens_neox': 1291, 'n_words': 210}