fix: show message when loading new transactions instead of no tx msg

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Jonathan Rainville 2020-04-16 15:04:12 -04:00 committed by Andrey Shovkoplyas
parent cc70a7e8da
commit 4f120d99f7
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
2 changed files with 4 additions and 1 deletions

View File

@ -113,7 +113,9 @@
:render-fn #(render-transaction %)
:empty-component
[react/i18n-text {:style styles/empty-text
:key :transactions-history-empty}]
:key (if (or fetching-recent-history? fetching-more-history?)
:transactions-history-loading
:transactions-history-empty)}]
:refreshing false}]
(when (and (not fetching-recent-history?)
(not all-fetched?))

View File

@ -957,6 +957,7 @@
"type": "Type",
"transactions-history": "Transaction history",
"transactions-history-empty": "No transactions in your history yet",
"transactions-history-loading": "Loading transaction history. This might take a while.",
"transactions-sign": "Sign",
"tribute-required-by-multiaccount": "{{multiaccount-name}} requires SNT to start a chat.",
"tribute-state-paid": "Tribute paid",