File tree 6 files changed +13
-114
lines changed
6 files changed +13
-114
lines changed Original file line number Diff line number Diff line change @@ -342,7 +342,6 @@ export const MODAL_PAYLOAD_FORM = 'payload-form';
342
342
export const MODAL_PROTOCOL_SELECT = 'protocol-select' ;
343
343
export const MODAL_PERMISSION_MANAGER = 'permission-manager' ;
344
344
export const MODAL_SCAN_QR = 'scan-qr' ;
345
- export const MODAL_RECIPIENT_HELPER = 'recipient-helper' ;
346
345
export const MODAL_RECIPIENT_INFO = 'recipient-info' ;
347
346
export const MODAL_RESET_WALLET = 'reset-wallet' ;
348
347
export const MODAL_TRANSFER_RECEIVE = 'transfer-receive' ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33
33
keypath =" modals.recipient.msg.chain.msg"
34
34
tag =" div"
35
35
scope =" global"
36
+ class =" aens"
36
37
>
37
38
<strong class =" title" >
38
39
{{ $t('modals.recipient.msg.chain.title') }}:
39
40
</strong >
40
41
{{ $t('modals.recipient.msg.chain.linkTitle') }}
41
42
</i18n-t >
42
43
</p >
43
- <p v-if =" UNFINISHED_FEATURES && isProtocolAe" >
44
- <i18n-t
45
- keypath =" modals.readMore.msg"
46
- class =" help"
47
- scope =" global"
48
- >
49
- <a :href =" AE_BLOG_CLAIM_TIP_URL" >
50
- {{ $t('modals.readMore.linkTitle') }}
51
- </a >
52
- </i18n-t >
53
- </p >
54
44
</div >
55
45
</template >
56
46
<template #footer >
@@ -75,8 +65,7 @@ import {
75
65
Protocol ,
76
66
ResolveCallback ,
77
67
} from ' @/types' ;
78
- import { AE_BLOG_CLAIM_TIP_URL } from ' @/protocols/aeternity/config' ;
79
- import { PROTOCOLS , UNFINISHED_FEATURES } from ' @/constants' ;
68
+ import { PROTOCOLS } from ' @/constants' ;
80
69
import { ProtocolAdapterFactory } from ' @/lib/ProtocolAdapterFactory' ;
81
70
import Default from ' ./Default.vue' ;
82
71
import BtnMain from ' ../buttons/BtnMain.vue' ;
@@ -98,8 +87,6 @@ export default defineComponent({
98
87
);
99
88
100
89
return {
101
- AE_BLOG_CLAIM_TIP_URL ,
102
- UNFINISHED_FEATURES ,
103
90
protocolName ,
104
91
isProtocolAe ,
105
92
};
@@ -114,18 +101,21 @@ export default defineComponent({
114
101
@use ' @/styles/mixins' ;
115
102
116
103
.msg {
117
- @extend %face-sans-14 -regular ;
104
+ @extend %face-sans-15 -regular ;
118
105
119
- text-align : left ;
106
+ text-align : center ;
120
107
line-height : 20px ;
121
108
122
109
.sub-header {
123
- @extend %face-sans-16-medium ;
124
-
125
110
@include mixins .flex (center , center );
126
111
127
- text-align : center ;
112
+ font-weight : 500 ;
128
113
margin-bottom : 20px ;
114
+ margin-top : -12px ;
115
+ }
116
+
117
+ .aens {
118
+ padding : 10px ;
129
119
}
130
120
131
121
.title {
Original file line number Diff line number Diff line change 20
20
import { computed , defineComponent , PropType } from ' vue' ;
21
21
import { useI18n } from ' vue-i18n' ;
22
22
import type { StatusIconType , UrlStatus } from ' @/types' ;
23
- import { MODAL_RECIPIENT_HELPER } from ' @/constants' ;
23
+ import { MODAL_HELP } from ' @/constants' ;
24
24
import { useModals } from ' @/composables' ;
25
25
26
26
import Default from ' @/icons/badges/default.svg?vue-component' ;
@@ -84,7 +84,7 @@ export default defineComponent({
84
84
});
85
85
86
86
function showModal() {
87
- openModal (MODAL_RECIPIENT_HELPER , {
87
+ openModal (MODAL_HELP , {
88
88
title: statusData .value ?.title ,
89
89
msg: statusData .value ?.msg ,
90
90
icon: statusData .value ?.icon ,
Original file line number Diff line number Diff line change 305
305
"chain" : {
306
306
"title" : " Send to .chain name" ,
307
307
"linkTitle" : " claim your own .chain name" ,
308
- "msg" : " {0} AENS name is a human friendly nickname ending with .chain that points to recipient’s æccount . Before sending any funds make sure the recipient is still the name owner. You can also {1} and set a pointer to one of your public addresses ."
308
+ "msg" : " {0} AENS name is a human friendly nickname ending with .chain that points to recipient’s account . Before sending any funds make sure the recipient is still the name owner."
309
309
}
310
310
}
311
311
},
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import {
26
26
MODAL_PRIVATE_KEY_IMPORT ,
27
27
MODAL_PROTOCOL_SELECT ,
28
28
MODAL_SCAN_QR ,
29
- MODAL_RECIPIENT_HELPER ,
30
29
MODAL_RECIPIENT_INFO ,
31
30
MODAL_RESET_WALLET ,
32
31
MODAL_TRANSFER_RECEIVE ,
@@ -75,7 +74,6 @@ import QrCodeScanner from '@/popup/components/Modals/QrCodeScanner.vue';
75
74
import Help from '@/popup/components/Modals/Help.vue' ;
76
75
import AssetSelector from '@/popup/components/Modals/AssetSelector.vue' ;
77
76
import ResetWallet from '@/popup/components/Modals/ResetWalletModal.vue' ;
78
- import RecipientHelper from '@/popup/components/Modals/RecipientHelper.vue' ;
79
77
import RecipientInfo from '@/popup/components/Modals/RecipientInfo.vue' ;
80
78
import ConsensusInfo from '@/popup/components/Modals/ConsensusInfo.vue' ;
81
79
import PayloadForm from '@/popup/components/Modals/PayloadForm.vue' ;
@@ -200,9 +198,6 @@ export default () => {
200
198
registerModal ( MODAL_RESET_WALLET , {
201
199
component : ResetWallet ,
202
200
} ) ;
203
- registerModal ( MODAL_RECIPIENT_HELPER , {
204
- component : RecipientHelper ,
205
- } ) ;
206
201
registerModal ( MODAL_RECIPIENT_INFO , {
207
202
component : RecipientInfo ,
208
203
} ) ;
You can’t perform that action at this time.
0 commit comments