Skip to content
This repository was archived by the owner on Jan 1, 2026. It is now read-only.

Commit b92b43c

Browse files
committed
Improved message when no account is in the wallet.
1 parent f525767 commit b92b43c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/js/controllers/tab-send.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ angular.module('canoeApp.controllers').controller('tabSendController', function
133133
}
134134

135135
// This could probably be enhanced refactoring the routes abstract states
136-
$scope.createWallet = function () {
136+
$scope.createAccount = function () {
137137
$state.go('tabs.home').then(function () {
138138
$state.go('tabs.create-account')
139139
})

src/js/services/latestReleaseService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ angular.module('canoeApp.services')
2626
function verifyTagFormat (tag) {
2727
var regex = /^v?\d+\.\d+\.\d+$/i
2828
return regex.exec(tag)
29-
};
29+
}
3030

3131
function formatTagNumber (tag) {
3232
var formattedNumber = tag.replace(/^v/i, '').split('.')

www/views/tab-send.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
Start sending RaiBlocks
3535
</div>
3636
<div class="subtitle">
37-
<span ng-show="hasAccounts" translate>To get started, share your account to receive RaiBlocks.</span>
38-
<span ng-show="!hasAccounts" translate>To get started, you'll need to create a RaiBlocks Wallet and get some RaiBlocks.</span>
37+
<span ng-show="hasAccounts" translate>To get started, you need Raiblocks. Share your account to receive RaiBlocks.</span>
38+
<span ng-show="!hasAccounts" translate>To get started, you need an Account in your wallet to receive RaiBlocks.</span>
3939
<div class="padding">
4040
<!-- <button class="button button-standard button-primary" ng-click="buyRaiblocks()" ng-show="hasAccounts" translate>Buy RaiBlocks</button>-->
41-
<button class="button button-standard button-primary" ng-click="createWallet()" ng-show="!hasAccounts" translate>Create Wallet</button>
41+
<button class="button button-standard button-primary" ng-click="createAccount()" ng-show="!hasAccounts" translate>Create Account</button>
4242
<button class="button button-standard button-secondary" ui-sref="tabs.receive" ng-show="hasAccounts" translate>Show Account</button>
4343
</div>
4444
</div>

0 commit comments

Comments
 (0)