CAKE-192 | renamed applyUnstoppableDomainAddress() to getUnstoppableDomainAddress() in the send_page.dart; fixed applyOpenaliasOrUnstoppableDomains() (send_page.dart) and applyUnstoppableDomainAddress() (exchange_page.dart)

This commit is contained in:
OleksandrSobol
2021-06-16 11:44:20 +03:00
parent 23e5ec1d01
commit 3a5932f3df
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -782,7 +782,7 @@ class ExchangePage extends BasePage {
if (domain.contains('.')) {
final name = domain.split('.').last;
if (name.isNotEmpty && (name == topLevelDomain)) {
if (name == topLevelDomain) {
try {
final address =
await exchangeViewModel.getUnstoppableDomainAddress(domain, ticker);
+2 -2
View File
@@ -774,7 +774,7 @@ class SendPage extends BasePage {
context: context);
}
Future<void> applyUnstoppableDomainAddress(BuildContext context) async {
Future<void> getUnstoppableDomainAddress(BuildContext context) async {
try {
final address = await sendViewModel
.getUnstoppableDomainAddress(
@@ -798,7 +798,7 @@ class SendPage extends BasePage {
final name = address.split('.').last;
if (name.isNotEmpty) {
if (name == topLevelDomain) {
await applyUnstoppableDomainAddress(context);
await getUnstoppableDomainAddress(context);
} else {
await getOpenaliasRecord(context);
}