File tree 6 files changed +10
-10
lines changed
6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 17
17
</script >
18
18
19
19
<svelte:window on:click ={onOutsideClick } />
20
- <account -switcher >
20
+ <wallet -switcher >
21
21
<button type ="button" on:click ={onButtonClick } class =" flex flex-row justify-center items-center space-x-2" >
22
22
<WalletLabel wallet ={$selectedWallet } />
23
23
<icon-container class:rotate ={isModalOpened }>
24
24
<Icon height ="18" width ="18" icon ={IconEnum .ChevronDown } classes =" text-gray-800 dark:text-white" />
25
25
</icon-container >
26
26
</button >
27
27
<WalletSwitcherModal bind:modal />
28
- </account -switcher >
28
+ </wallet -switcher >
29
29
30
30
<style lang =" scss" >
31
- account -switcher {
31
+ wallet -switcher {
32
32
@apply block relative ;
33
33
-webkit-app-region : none ;
34
34
}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export * from './popups'
7
7
8
8
export { default as AccountActivity } from './AccountActivity.svelte'
9
9
export { default as AccountSummary } from './AccountSummary.svelte'
10
- export { default as AccountSwitcher } from './AccountSwitcher .svelte'
10
+ export { default as WalletSwitcher } from './WalletSwitcher .svelte'
11
11
export { default as OnboardingLayout } from './OnboardingLayout.svelte'
12
12
export { default as Proposals } from './Proposals.svelte'
13
13
export { default as ProposalAnswer } from './ProposalAnswer.svelte'
Original file line number Diff line number Diff line change 8
8
import { clickOutside } from ' @core/utils/ui'
9
9
10
10
// Popups
11
- import AccountSwitcherPopup from ' ./WalletSwitcherPopup.svelte'
11
+ import WalletSwitcherPopup from ' ./WalletSwitcherPopup.svelte'
12
12
import ActivityDetailsPopup from ' ./ActivityDetailsPopup.svelte'
13
13
import AddNodePopup from ' ./AddNodePopup.svelte'
14
14
import AddProposalPopup from ' ./AddProposalPopup.svelte'
94
94
let popupContent
95
95
96
96
const POPUP_MAP: PopupComponentMap = {
97
- [PopupId .AccountSwitcher ]: AccountSwitcherPopup ,
97
+ [PopupId .WalletSwitcher ]: WalletSwitcherPopup ,
98
98
[PopupId .ActivityDetails ]: ActivityDetailsPopup ,
99
99
[PopupId .AddNode ]: AddNodePopup ,
100
100
[PopupId .AddProposal ]: AddProposalPopup ,
Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
2
import { Icon , Text } from ' @ui'
3
- import { AccountSwitcher } from ' @components'
4
3
import { PlatformOption } from ' @core/app'
5
4
import { platform } from ' @core/app/stores'
6
5
import { localize } from ' @core/i18n'
62
61
{/if }
63
62
</div >
64
63
65
- <AccountSwitcher />
64
+ <!-- TODO(2.0) We hide the WalletSwitcher for now -->
65
+ <!-- <WalletSwitcher /> -->
66
66
67
67
<div class =" right-button flex justify-end" />
68
68
</top-navigation >
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export function handleDeepLink(input: string): void {
35
35
36
36
if ( get ( visibleActiveWallets ) . length > 1 ) {
37
37
openPopup ( {
38
- id : PopupId . AccountSwitcher ,
38
+ id : PopupId . WalletSwitcher ,
39
39
overflow : true ,
40
40
props : {
41
41
onConfirm : ( ) => {
Original file line number Diff line number Diff line change 1
1
export enum PopupId {
2
- AccountSwitcher = 'accountSwitcher ' ,
2
+ WalletSwitcher = 'WalletSwitcher ' ,
3
3
ActivityDetails = 'activityDetails' ,
4
4
AddNode = 'addNode' ,
5
5
AddProposal = 'addProposal' ,
You can’t perform that action at this time.
0 commit comments