Skip to content

Commit

Permalink
Merge branch 'fix/module-component' into 'develop'
Browse files Browse the repository at this point in the history
fix/module-component

See merge request papers/airgap/airgap-wallet!744
  • Loading branch information
Stephen Debel committed Apr 29, 2024
2 parents 38d1c85 + 83f98db commit 4cd2b8f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/pages/account-add/account-add.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</ion-list>
</ion-grid>

<ion-card class="ion-padding" color="secondary">
<ion-card class="ion-padding" color="secondary" (click)="isolatedModuleDoc()">
<ion-row>
<ion-col>
<ion-icon style="zoom: 4;" src="assets/img/shapes.svg"></ion-icon>
Expand Down
8 changes: 7 additions & 1 deletion src/app/pages/account-add/account-add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Component } from '@angular/core'
import { Router } from '@angular/router'
import { Platform } from '@ionic/angular'

import { BrowserService } from 'src/app/services/browser/browser.service'
import { AccountProvider } from '../../services/account/account.provider'
import { DataService, DataServiceKey } from '../../services/data/data.service'
import { LedgerService } from '../../services/ledger/ledger-service'
Expand Down Expand Up @@ -64,7 +65,8 @@ export class AccountAddPage {
private readonly protocolService: ProtocolService,
private readonly router: Router,
private readonly ledgerService: LedgerService,
private readonly dataService: DataService
private readonly dataService: DataService,
private readonly browserService: BrowserService
) {}

public async ionViewWillEnter() {
Expand Down Expand Up @@ -235,4 +237,8 @@ export class AccountAddPage {
public navigateToScan() {
this.router.navigateByUrl('/tabs/scan').catch(handleErrorSentry(ErrorCategory.NAVIGATION))
}

public isolatedModuleDoc(): void {
this.browserService.openUrl('https://support.airgap.it/isolated-module/')
}
}

0 comments on commit 4cd2b8f

Please sign in to comment.