File tree 8 files changed +14
-12
lines changed
app/src/main/java/jp/co/soramitsu/app/root/navigation
feature-account-impl/src/main
java/jp/co/soramitsu/feature_account_impl/presentation
8 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ class Navigator :
400
400
navController?.navigate(R .id.open_extrinsic_detail, bundle)
401
401
}
402
402
403
- override fun openAccounts (accountChosenNavDirection : AccountChosenNavDirection ) {
403
+ override fun openWallets (accountChosenNavDirection : AccountChosenNavDirection ) {
404
404
navController?.navigate(R .id.action_open_accounts, AccountListFragment .getBundle(accountChosenNavDirection))
405
405
}
406
406
@@ -417,11 +417,11 @@ class Navigator :
417
417
}
418
418
419
419
override fun openChangeAccountFromWallet () {
420
- openAccounts (AccountChosenNavDirection .BACK )
420
+ openWallets (AccountChosenNavDirection .BACK )
421
421
}
422
422
423
423
override fun openChangeAccountFromStaking () {
424
- openAccounts (AccountChosenNavDirection .BACK )
424
+ openWallets (AccountChosenNavDirection .BACK )
425
425
}
426
426
427
427
override fun openReceive (assetPayload : AssetPayload ) {
File renamed without changes.
Original file line number Diff line number Diff line change 67
67
<string name =" pincode_fingerprint_error" >Вы не авторизованы. Попробуйте другой палец.</string >
68
68
<string name =" pincode_fingerprint_switch_dialog_title" >Использовать биометрию для авторизации</string >
69
69
<string name =" profile_accounts_title" >Аккаунты</string >
70
+ <string name =" profile_wallets_title" >Кошельки</string >
70
71
<string name =" profile_network_title" >Сеть</string >
71
72
<string name =" profile_pincode_change_title" >Изменить PIN-код</string >
72
73
<string name =" pincode_biometry_dialog_title" >Биометрия</string >
Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ Terms and Conditions and Privacy Policy</string>
89
89
<string name =" pincode_fingerprint_error" >You are not authorized. Try another finger.</string >
90
90
<string name =" pincode_fingerprint_switch_dialog_title" >Use biometric to authorize</string >
91
91
<string name =" profile_accounts_title" >Accounts</string >
92
+ <string name =" profile_wallets_title" >Wallets</string >
92
93
<string name =" profile_network_title" >Networks</string >
93
94
<string name =" profile_pincode_change_title" >Change pin code</string >
94
95
<string name =" pincode_biometry_dialog_title" >Biometry</string >
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ interface AccountRouter : SecureRouter {
29
29
30
30
fun back ()
31
31
32
- fun openAccounts (accountChosenNavDirection : AccountChosenNavDirection )
32
+ fun openWallets (accountChosenNavDirection : AccountChosenNavDirection )
33
33
34
34
fun openNodes ()
35
35
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import kotlinx.android.synthetic.main.fragment_profile.accountView
17
17
import kotlinx.android.synthetic.main.fragment_profile.changePinCodeTv
18
18
import kotlinx.android.synthetic.main.fragment_profile.languageWrapper
19
19
import kotlinx.android.synthetic.main.fragment_profile.networkWrapper
20
- import kotlinx.android.synthetic.main.fragment_profile.profileAccounts
20
+ import kotlinx.android.synthetic.main.fragment_profile.profileWallets
21
21
import kotlinx.android.synthetic.main.fragment_profile.selectedLanguageTv
22
22
import kotlinx.android.synthetic.main.fragment_profile.selectedNetworkTv
23
23
@@ -36,7 +36,7 @@ class ProfileFragment : BaseFragment<ProfileViewModel>() {
36
36
37
37
aboutTv.setOnClickListener { viewModel.aboutClicked() }
38
38
39
- profileAccounts .setOnClickListener { viewModel.accountsClicked () }
39
+ profileWallets .setOnClickListener { viewModel.walletsClicked () }
40
40
networkWrapper.setOnClickListener { viewModel.networksClicked() }
41
41
languageWrapper.setOnClickListener { viewModel.languagesClicked() }
42
42
changePinCodeTv.setOnClickListener { viewModel.changePinCodeClicked() }
@@ -80,7 +80,7 @@ class ProfileFragment : BaseFragment<ProfileViewModel>() {
80
80
payload,
81
81
viewModel::copyAddressClicked,
82
82
viewModel::viewExternalClicked,
83
- viewModel::accountsClicked
83
+ viewModel::walletsClicked
84
84
).show()
85
85
}
86
86
}
Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ class ProfileViewModel(
41
41
router.openAboutScreen()
42
42
}
43
43
44
- fun accountsClicked () {
45
- router.openAccounts (AccountChosenNavDirection .MAIN )
44
+ fun walletsClicked () {
45
+ router.openWallets (AccountChosenNavDirection .MAIN )
46
46
}
47
47
48
48
fun networksClicked () {
Original file line number Diff line number Diff line change 38
38
android : layout_height =" wrap_content"
39
39
android : background =" @drawable/bg_primary_list_item"
40
40
android : clickable =" true"
41
- android : id =" @+id/profileAccounts "
42
- android : drawableStart =" @drawable/ic_settings_accounts "
41
+ android : id =" @+id/profileWallets "
42
+ android : drawableStart =" @drawable/ic_settings_wallets "
43
43
android : drawableEnd =" @drawable/ic_arrow_right_24"
44
44
android : drawablePadding =" @dimen/x1_5"
45
45
android : focusable =" true"
48
48
android : paddingTop =" @dimen/x1_5"
49
49
android : paddingEnd =" @dimen/x2"
50
50
android : paddingBottom =" @dimen/x1_5"
51
- android : text =" @string/profile_accounts_title "
51
+ android : text =" @string/profile_wallets_title "
52
52
android : textColor =" @color/white" />
53
53
54
54
<View
You can’t perform that action at this time.
0 commit comments