<commit_before><ion-header>
  <ion-navbar>
    <ion-title>Home</ion-title>
  </ion-navbar>
</ion-header>

<ion-content padding>
  <div *ngIf="!wallets || !wallets[0]">
    <ion-card (click)="goToAddView()">
      <ion-item detail-push>
        <span translate>Create a new wallet</span>
      </ion-item>
    </ion-card>
  </div>

  <ion-card>
    <ion-item>
      Wallets
      <button ion-button outline item-end icon-left (click)="goToAddView()">
        <ion-icon name="md-add"></ion-icon>
      </button>
    </ion-item>

    <ion-list *ngIf="wallets && wallets[0]">
      <button ion-item *ngFor="let wallet of wallets">
        <ion-icon item-start>
          <img src="../../assets/icon/icon-wallet.svg" class="icon-wallet">
        </ion-icon>
        <h2>{{wallet.credentials.walletName}} {{wallet.credentials.m}}-{{wallet.credentials.n}}</h2>
        <p>{{wallet.credentials.coin}} - 10 BTC</p>
      </button>
    </ion-list>
  </ion-card>
</ion-content>
<commit_msg>fix create wallet button if no wallets<commit_after><ion-header>
  <ion-navbar>
    <ion-title>Home</ion-title>
  </ion-navbar>
</ion-header>

<ion-content padding>
  <div *ngIf="!wallets || !wallets[0]">
    <ion-card (click)="goToAddView()">
      <ion-item detail-push>
        <span translate>Create a new wallet</span>
      </ion-item>
    </ion-card>
  </div>

  <ion-card *ngIf="wallets && wallets[0]">
    <ion-item>
      Wallets
      <button ion-button outline item-end icon-left (click)="goToAddView()">
        <ion-icon name="md-add"></ion-icon>
      </button>
    </ion-item>

    <ion-list>
      <button ion-item *ngFor="let wallet of wallets">
        <ion-icon item-start>
          <img src="../../assets/icon/icon-wallet.svg" class="icon-wallet">
        </ion-icon>
        <h2>{{wallet.credentials.walletName}} {{wallet.credentials.m}}-{{wallet.credentials.n}}</h2>
        <p>{{wallet.credentials.coin}} - 10 BTC</p>
      </button>
    </ion-list>
  </ion-card>
</ion-content>

{'fraction_non_alphanumeric': 0.2027231467473525, 'fraction_numerical': 0.006051437216338881, 'mean_word_length': 2.6007259528130673, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, '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': '1041059', 'n_tokens_mistral': 734, 'n_tokens_neox': 721, 'n_words': 124}