Skip to content

Commit

Permalink
add install
Browse files Browse the repository at this point in the history
  • Loading branch information
jandutkiewicz0309 committed Sep 29, 2023
1 parent e63c181 commit 8507cbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class NightlyWalletSelectorPage extends LitElement {
<nightly-wallet-selector-item
name=${item.name}
icon=${item.icon}
status=${item.recent ? 'Recent' : item.detected ? 'Detected' : ''}
status=${item.recent ? 'Recent' : item.detected ? 'Detected' : 'Install'}
@click=${() => this.onWalletClick(item.name)}
></nightly-wallet-selector-item>
`
Expand All @@ -77,7 +77,7 @@ export class NightlyWalletSelectorPage extends LitElement {
<nightly-wallet-selector-item
name=${item.name}
icon=${item.icon}
status=${item.recent ? 'Recent' : item.detected ? 'Detected' : ''}
status=${item.recent ? 'Recent' : item.detected ? 'Detected' : 'Install'}
@click=${() => this.onWalletClick(item.name)}
></nightly-wallet-selector-item>
`
Expand Down
1 change: 1 addition & 0 deletions sdk/packages/modal/src/utils/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export interface WalletSelectorItem {
link: string
detected?: boolean
recent?: boolean
install?: boolean
}

export enum SelectorView {
Expand Down

0 comments on commit 8507cbc

Please sign in to comment.